Gnome::Gtk4::MultiFilter
Description
Gnome::Gtk4::MultiFilter is the base class for filters that combine multiple filters.
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! )
Methods
append
Adds a $filter
to $self
to use for matching.
method append ( N-Object() $filter )
$filter; (transfer ownership: full) A new filter to use.
remove
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.
method remove ( UInt() $position )
$position; position of filter to remove.