insert

open fun insert(widget: Widget, position: Int)

Inserts the @widget into @box at @position.

If a sort function is set, the widget will actually be inserted at the calculated position.

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

Parameters

widget

the GtkWidget to add

position

the position to insert @child in