Gtk.AnyFilter

g GObject.GInterface GObject.GInterface Gio.ListModel Gio.ListModel GObject.GInterface->Gio.ListModel Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable GObject.Object GObject.Object Gtk.Filter Gtk.Filter GObject.Object->Gtk.Filter Gtk.MultiFilter Gtk.MultiFilter Gio.ListModel->Gtk.MultiFilter Gtk.AnyFilter Gtk.AnyFilter Gtk.Buildable->Gtk.MultiFilter Gtk.Filter->Gtk.MultiFilter Gtk.MultiFilter->Gtk.AnyFilter

Subclasses:

None

Methods

Inherited:

Gtk.MultiFilter (2), Gtk.Filter (3), GObject.Object (37), Gio.ListModel (4), Gtk.Buildable (1)

Structs:

GObject.ObjectClass (5)

class

new ()

Virtual Methods

Inherited:

Gtk.Filter (2), GObject.Object (7), Gio.ListModel (3), Gtk.Buildable (9)

Properties

Inherited:

Gtk.MultiFilter (2)

Signals

Inherited:

Gtk.Filter (1), GObject.Object (1), Gio.ListModel (1)

Fields

Inherited:

Gtk.Filter (1), GObject.Object (1), Gio.ListModel (1)

Class Details

class Gtk.AnyFilter(**kwargs)
Bases:

Gtk.MultiFilter

Abstract:

No

Structure:

Gtk.AnyFilterClass

GtkAnyFilter matches an item when at least one of its filters matches.

To add filters to a GtkAnyFilter, use [method`Gtk`.MultiFilter.append].

classmethod new()[source]
Returns:

a new GtkAnyFilter

Return type:

Gtk.AnyFilter

Creates a new empty “any” filter.

Use [method`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.