FlowBox.insert

Inserts the @widget into @box at @position.

If a sort function is set, the widget will actually be inserted at the calculated position and this function has the same effect as gtk_container_add().

If @position is -1, or larger than the total number of children in the @box, then the @widget will be appended to the end.

class FlowBox
void
insert

Parameters

widget Widget

the #GtkWidget to add

position int

the position to insert @child in

Meta

Since

3.12