Gtk.BoolFilter¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/en |
|||
r/w/en |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Gtk.BoolFilter(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
GtkBoolFilter
evaluates a booleanGtkExpression
to determine whether to include items.- classmethod new(expression)[source]¶
- Parameters:
expression (
Gtk.Expression
orNone
) – The expression to evaluate- Returns:
a new
GtkBoolFilter
- Return type:
Creates a new bool filter.
- get_expression()[source]¶
- Returns:
a
GtkExpression
- Return type:
Gets the expression that the filter uses to evaluate if an item should be filtered.
- set_expression(expression)[source]¶
- Parameters:
expression (
Gtk.Expression
orNone
) – aGtkExpression
Sets the expression that the filter uses to check if items should be filtered.
The expression must have a value type of
GObject.TYPE_BOOLEAN
.
Property Details¶
- Gtk.BoolFilter.props.expression¶
- Name:
expression
- Type:
- Default Value:
- Flags:
The boolean expression to evaluate on item.