Package: gio

Function g-list-store-find

Lambda List

g-list-store-find (list item)

Arguments

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

Return Value

An 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 GEqualFunc instead.
 

See also

2021-12-10