ListBox.insert

void insert(gtk.widget.Widget child, int position)

Insert the child into the 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 items in the box, then the child will be appended to the end.

Parameters

childthe [gtk.widget.Widget] to add
positionthe position to insert child in