TreeViewSearchEqualFunc


Description:

[ CCode ( instance_pos = 4.9 ) ]
public delegate bool TreeViewSearchEqualFunc (TreeModel model, int column, string key, TreeIter iter)

A function used for checking whether a row in model matches a search key string entered by the user.

Note the return value is reversed from what you would normally expect, though it has some similarity to strcmp returning 0 for equal strings.

Parameters:

model

the `GtkTreeModel` being searched

column

the search column set by set_search_column

key

the key string to compare with

iter

a `GtkTreeIter` pointing the row of model that should be compared with key.

search_data

user data from set_search_equal_func

Returns:

false if the row matches, true otherwise.


Namespace: Gtk
Package: gtk4