Class
Gtk.BoolFilter
Description [src]
final class Gtk.BoolFilter : Gtk.Filter {
/* No available fields */
}
GtkBoolFilter
evaluates a boolean GtkExpression
to determine whether to include items.
Ancestors
- GtkFilter
- GObject
Constructors
gtk_bool_filter_new
Creates a new bool filter.
Instance methods
gtk_bool_filter_get_expression
Gets the expression that the filter uses to evaluate if an item should be filtered.
gtk_bool_filter_get_invert
Returns whether the filter inverts the expression.
gtk_bool_filter_set_expression
Sets the expression that the filter uses to check if items should be filtered.
gtk_bool_filter_set_invert
Sets whether the filter should invert the expression.
Methods inherited from GtkFilter (3)
gtk_filter_changed
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()
.
gtk_filter_get_strictness
Gets the known strictness of filters
. If the strictness is not known,
GTK_FILTER_MATCH_SOME
is returned.
gtk_filter_match
Checks if the given item
is matched by the filter or not.
Properties
Gtk.BoolFilter:expression
The boolean expression to evaluate on item.
Gtk.BoolFilter:invert
If the expression result should be inverted.