Class: Gtk::BoolFilter

Inherits:
Filter
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Methods inherited from Filter

#changed, #match, #strictness

Constructor Details

#initialize(expression) ⇒ Gtk::BoolFilter

Creates a new bool filter.

Parameters:

Instance Method Details

#expressionGtk::Expression

The boolean expression to evaluate on item.

Returns:

#expression=(expression) ⇒ Gtk::Expression

The boolean expression to evaluate on item.

Parameters:

Returns:

#invertBoolean

Returns whether the filter inverts the expression.

Returns:

  • (Boolean)

    true if the filter inverts

#invert=(invert) ⇒ Boolean

If the expression result should be inverted.

Parameters:

  • invert (Boolean)

Returns:

  • (Boolean)

    invert

  • (Boolean)

    invert

#invert?Boolean

If the expression result should be inverted.

Returns:

  • (Boolean)

    invert