BoolFilter
GtkBoolFilter
evaluates a boolean GtkExpression
to determine whether to include items.
Constructors
- class BoolFilter
- classmethod new(expression: Expression | None = None) BoolFilter
Creates a new bool filter.
- Parameters:
expression – The expression to evaluate
Methods
- class BoolFilter
- get_expression() Expression | None
Gets the expression that the filter uses to evaluate if an item should be filtered.
- set_expression(expression: Expression | None = None) None
Sets the expression that the filter uses to check if items should be filtered.
The expression must have a value type of
bool
.- Parameters:
expression – a
GtkExpression
Properties
- class BoolFilter
- props.expression: Expression
The boolean expression to evaluate on item.