Class
GtkStringFilter
Description [src]
final class Gtk.StringFilter : Gtk.Filter {
/* No available fields */
}
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 gtk_string_filter_set_expression(), and they are
compared against a search term set with gtk_string_filter_set_search().
GtkStringFilter has several different modes of comparison - it
can match the whole string, just a prefix, or any substring. Use
gtk_string_filter_set_match_mode() choose a mode.
It is also possible to make case-insensitive comparisons, with
gtk_string_filter_set_ignore_case().
Instance methods
gtk_string_filter_get_expression
Gets the expression that the string filter uses to obtain strings from items.
gtk_string_filter_set_expression
Sets the expression that the string filter uses to obtain strings from items.
Methods inherited from GtkFilter (3)
gtk_filter_changed
Notifies all users of the filter that it has changed.
gtk_filter_get_strictness
Gets the known strictness of filters.
gtk_filter_match
Checks if the given item is matched by the filter or not.
Signals
Signals inherited from GtkFilter (1)
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.