Package: gio

Function gio:list-store-find

Lambda List

gio:list-store-find (store item)

Arguments

store -- a g:list-store object
item -- a g:object item

Return Value

The unsigned integer with the first position of the item, if it was found, otherwise nil.

Details

Looks up the given item in the list store by looping over the items until the first occurrence of item. If the item argument was not found, then this method will return nil.

If you need to compare the two items with a custom comparison function, use the g:list-store-find-with-equal-func function with a custom g:equal-func-full callback function instead.

Since 2.64
 

See also

2024-3-31