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

Type: GtkWidget

The GtkWidget to add.

The data is owned by the caller of the method.
position

Type: int

The position to insert child in.