insert_before


Description:

public void insert_before (Widget new_widget, Widget existing_widget)

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.

Parameters:

new_widget

The widget to insert.

existing_widget

The widget to insert the parameter before.