MultiFilter#

class MultiFilter(**properties: Any)#

Superclasses: Filter, Object

Subclasses: AnyFilter, EveryFilter

Implemented Interfaces: ListModel, Buildable

GtkMultiFilter is the base class for filters that combine multiple filters.

Methods#

class MultiFilter
append(filter: Filter) None#

Adds a filter to self to use for matching.

Parameters:

filter – A new filter to use

remove(position: int) None#

Removes the filter at the given position from the list of filters used by self.

If position is larger than the number of filters, nothing happens and the function returns.

Parameters:

position – position of filter to remove

Properties#

class MultiFilter
props.item_type: type#

The type of the None singleton.

Added in version 4.8.

props.n_items: int#

The type of the None singleton.

Added in version 4.8.