Method

Gtk.ListBox.insert

Declaration [src]

void
gtk_list_box_insert (
  GtkListBox* box,
  GtkWidget* child,
  int position
)

Description [src]

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

child GtkWidget
 

the GtkWidget to add

 Ownership is not transferred to the callee
position int
 

the position to insert child in