Plank.Items.DockItemProvider.add_item – plank Reference Manual
add_item
Description:
public
void
add_item
(
DockItem
item,
DockItem
? target =
null
)
Adds a dock item to the collection.
Parameters:
item
the dock item to add
target
an existing item where to put this new one at