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:
 - Evaluates a boolean expression to determine whether to include items. - classmethod new(expression)[source]¶
- Parameters:
- expression ( - Gtk.Expressionor- None) – the expression to evaluate
- Returns:
- a new - GtkBoolFilter
- Return type:
 - Creates a new bool filter. 
 - get_expression()[source]¶
- Returns:
- the expression 
- Return type:
 - Gets the expression that the filter evaluates for each item. 
 - get_invert()[source]¶
- Returns:
- true if the filter inverts 
- Return type:
 - Returns whether the filter inverts the expression. 
 - set_expression(expression)[source]¶
- Parameters:
- expression ( - Gtk.Expressionor- None) – the 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.
 
Property Details¶
- Gtk.BoolFilter.props.expression¶
- Name:
- expression
- Type:
- Default Value:
- Flags:
 - The boolean expression to evaluate on each item.