Class

Gtk.BoolFilter

Description [src]

final class Gtk.BoolFilter : Gtk.Filter {
  /* No available fields */
}

GtkBoolFilter is a simple filter that takes a boolean GtkExpression to determine whether to include items.

Ancestors

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. The expression must have a value type of #G_TYPE_BOOLEAN.

gtk_bool_filter_set_invert

Sets whether the filter should invert the expression.

Properties

Gtk.BoolFilter:expression

The boolean expression to evaluate on item

Gtk.BoolFilter:invert

If the expression result should be inverted

Class structure

struct GtkBoolFilterClass {
  GtkFilterClass parent_class;
  
}
Class members
parent_class
GtkFilterClass
  No description available.