Insert a widget before an existing widget.
The new widget will be inserted in the list of children immediately before the specified existing widget. If the existing widget is not a child of this container, the new widget will not be added.
This method is not allowed for ContainerType.SINGLE.
Window widgets cannot be children.
new_widget |
The widget to insert. |
existing_widget |
The widget to insert the parameter before. |