Method
GtkListBoxinsert
since: 3.10
Declaration [src]
void
gtk_list_box_insert (
GtkListBox* box,
GtkWidget* child,
gint 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 and
this function has the same effect of gtk_container_add().
If position
is -1, or larger than the total number of items in the
box
, then the child
will be appended to the end.
Available since: 3.10
Parameters
child
-
Type:
GtkWidget
The
GtkWidget
to add.The data is owned by the caller of the method. position
-
Type:
gint
The position to insert
child
in.