insert_after


Description:

public void insert_after (Widget parent, Widget? previous_sibling)

Inserts this 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 this, this function can also be used to reorder this 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.

Parameters:

this

a `GtkWidget`

parent

the parent `GtkWidget` to insert this into

previous_sibling

the new previous sibling of this