Widget.insertAfter

Inserts widget into the child widget list of parent.

It will be placed after previous_sibling, or at the beginning if previous_sibling is null.

After calling this function, gtk_widget_get_prev_sibling(widget) will return previous_sibling.

If parent is already set as the parent widget of widget, this function can also be used to reorder widget in the child widget list of parent.

This API is primarily meant for widget implementations; if you are just using a widget, you *must* use its own API for adding children.

class Widget
void
insertAfter

Parameters

parent gtk.widget.Widget

the parent gtk.widget.Widget to insert widget into

previousSibling gtk.widget.Widget

the new previous sibling of widget