:right-sidebar: True AnyFilter =================================================================== .. currentmodule:: gi.repository.Gtk .. class:: AnyFilter(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.Gtk.MultiFilter`, :class:`~gi.repository.Gtk.Filter`, :class:`~gi.repository.GObject.Object` Implemented Interfaces: :class:`~gi.repository.Gio.ListModel`, :class:`~gi.repository.Gtk.Buildable` ``GtkAnyFilter`` matches an item when at least one of its filters matches. To add filters to a ``GtkAnyFilter``, use :obj:`~gi.repository.Gtk.MultiFilter.append`. Constructors ------------ .. rst-class:: interim-class .. class:: AnyFilter :no-index: .. classmethod:: new() -> ~gi.repository.Gtk.AnyFilter Creates a new empty "any" filter. Use :obj:`~gi.repository.Gtk.MultiFilter.append` to add filters to it. This filter matches an item if any of the filters added to it matches the item. In particular, this means that if no filter has been added to it, the filter matches no item.