Plank.Items.DockContainer.replace_item – plank Reference Manual
replace_item
Description:
public
virtual
void
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