Sets our main struct and passes it to the parent class.
Creates a new string filter.
Gets the expression that the string filter uses to obtain strings from items.
Returns whether the filter ignores case differences.
Returns the match mode that the filter is using.
Gets the search term.
Get the main Gtk struct
the main Gtk struct as a void*
Sets the expression that the string filter uses to obtain strings from items.
Sets whether the filter ignores case differences.
Sets the match mode for the filter.
Sets the string to search for.
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Emits the #GtkFilter::changed signal to notify all users of the filter that the filter changed. Users of the filter should then check items again via gtk_filter_match().
Gets the known strictness of @filters. If the strictness is not known, %GTK_FILTER_MATCH_SOME is returned.
Checks if the given @item is matched by the filter or not.
Emitted whenever the filter changed.
GtkStringFilter determines whether to include items by comparing strings to a fixed search term.
The strings are obtained from the items by evaluating a GtkExpression set with [method@Gtk.StringFilter.set_expression], and they are compared against a search term set with [method@Gtk.StringFilter.set_search].
GtkStringFilter has several different modes of comparison - it can match the whole string, just a prefix, or any substring. Use [method@Gtk.StringFilter.set_match_mode] choose a mode.
It is also possible to make case-insensitive comparisons, with [method@Gtk.StringFilter.set_ignore_case].