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.

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

2024-10-11