replace_item


Description:

public virtual bool replace_item (DockElement new_item, DockElement old_item)

Replace an item with another item.

Parameters:

new_item

the new item

old_item

the item to be replaced

Returns:

whether replacing the item was successful