Plank.Items.DockItemProvider.add_item_with_uri – plank – Vala Binding Reference

Plank.Items.DockItemProvider.add_item_with_uri – plank Reference Manual

# add_item_with_uri

## Description:

public virtual bool add_item_with_uri (string uri, DockItem? target = null)

Adds a dock item with the given URI to the collection.

## Parameters:

uri | the URI to add a dock item for
target | an existing item where to put this new one at

## Returns:

whether adding the URI was successful