Filter.match

Checks if the given item is matched by the filter or not.

class Filter
bool
match

Parameters

item gobject.object.ObjectG

The item to check

Return Value

Type: bool

true if the filter matches the item and a filter model should keep it, false if not.