add_item


Description:

public bool add_item (DockElement item, DockElement? 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

Returns:

whether adding the item was successful