Package ch.bailu.gtk.gtk
Interface TreeView.OnTreeViewSearchEqualFunc
- Enclosing class:
- TreeView
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
onTreeViewSearchEqualFunc
(CallbackHandler __self, TreeModel model, int column, Str key, TreeIter iter, Pointer search_data) A function used for checking whether a row in @model matches
a search key string entered by the user.
-
Method Details
-
onTreeViewSearchEqualFunc
boolean onTreeViewSearchEqualFunc(CallbackHandler __self, @Nonnull TreeModel model, int column, @Nonnull Str key, @Nonnull TreeIter iter, @Nullable Pointer search_data) 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 searchedcolumn
- the search column set by gtk_tree_view_set_search_column()key
- the key string to compare withiter
- a `GtkTreeIter` pointing the row of @model that should be compared with @key.search_data
- user data from gtk_tree_view_set_search_equal_func()- Returns:
- %FALSE if the row matches, %TRUE otherwise.
-