Package: gio

Function gio:list-store-insert-sorted

Lambda List

gio:list-store-insert-sorted (store item func)

Arguments

store -- a g:list-store object
item -- a g:object object
func -- a g:compare-data-func callback function

Return Value

The unsigned integer with the position at which item was inserted.

Details

Inserts the item into the list store at a position to be determined by the func callback function. The list store must already be sorted before calling this function or the result is undefined. Usually you would approach this by only ever inserting items by way of this function.
 

See also

2024-3-31