replace


Description:

public virtual bool replace (DockElement new_element, DockElement old_element)

Replace an element with another element.

Parameters:

new_element

the new element

old_element

the element to be replaced

Returns:

whether replacing the element was successful