Package: gtk

Function gtk-list-box-insert

Lambda List

gtk-list-box-insert (listbox child position)

Arguments

listbox -- a gtk-list-box widget
child -- a gtk-widget child widget to add
position -- an integer with the position to insert the child widget in

Details

Insert the child widget into the list box at the given position. If a sort function is set, the child widget will actually be inserted at the calculated position and this function has the same effect as the gtk-container-add function.

If the position is -1, or larger than the total number of items in the list box, then the child widget will be appended to the end.
 

See also

2021-11-15