find_with_equal_func


Description:

[ Version ( since = "2.64" ) ]
public bool find_with_equal_func (Object item, EqualFunc<Object> equal_func, 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.

Parameters:

this

a ListStore

item

an item

equal_func

A custom equality check function

position

the first position of item, if it was found.

Returns:

Whether this contains item. If it was found, position will be set to the position where item occurred for the first time.




2022 vala-language.org