set to the position where item occurred for the first time.
ListStore.findWithEqualFunc
bool findWithEqualFunc(gobject.object.ObjectWrap item, bool delegate(gobject.object.ObjectWrap, gobject.object.ObjectWrap) equalFunc, out uint position)Looks up the given item in the list store by looping over the items and comparing them with equal_func until the first occurrence of item which matches. If item was not found, then position will not be set, and this method will return %FALSE. item is always passed as second parameter to equal_func. Since GLib 2.76 it is possible to pass NULL for item.
Parameters
item | an item |
equalFunc | A custom equality check function |
position | the first position of item, if it was found. |
Returns
Whether store contains item. If it was found, position will be