Method

GtkListBoxinsert

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.

 The data is owned by the caller of the function.
position int
 

The position to insert child in.