About all my projects
Gnome::Gtk4::AnyFilter

Gnome::Gtk4::AnyFilter

Description

Gnome::Gtk4::AnyFilter matches an item when at least one of its filters matches.

To add filters to a Gnome::Gtk4::AnyFilter, use .append() in class Gnome::Gtk4::MultiFilter.

Class initialization

new

:native-object

Create an object using a native object from elsewhere. See also Gnome::N::TopLevelSupportClass.

multi method new ( N-Object :$native-object! )

new-anyfilter

Creates a new empty "any" filter.

Use .append() in class Gnome::Gtk4::MultiFilter 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.

method new-anyfilter ( --> Gnome::Gtk4::AnyFilter \)