Gtk.BoolFilter
Description: Reference for Gtk.BoolFilter

### Class

# GtkBoolFilter

#### 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

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.

#### 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.