TreeViewSearchEqualFunc

typealias TreeViewSearchEqualFunc = (model: TreeModel, <Error class: unknown class>, key: String, iter: TreeIter) -> Boolean

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.

  • param model the GtkTreeModel being searched

  • param column the search column set by gtk_tree_view_set_search_column()

  • param key the key string to compare with

  • param iter a GtkTreeIter pointing the row of @model that should be compared with @key.

  • return false if the row matches, true otherwise.