ListStore.findWithEqualFunc

Looks up the given @item in the list store by looping over the items and comparing them with @compare_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.

class ListStore
bool
findWithEqualFunc
(,
GEqualFunc equalFunc
,
out uint position
)

Parameters

item ObjectG

an item

equalFunc GEqualFunc

A custom equality check function

position uint

the first position of @item, if it was found.

Return Value

Type: bool

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

Meta

Since

2.64