About my projects, examples and tutorials
Gnome::Gtk4::MultiFilter

Gnome::Gtk4::MultiFilter

Description§

Gnome::Gtk4::MultiFilter is the base class for filters that combine multiple filters.

Uml Diagram§

UNKNOWN image§

=for image :class<inline> :src<asset_files/images/plantuml/MultiFilter.png> :width<70\%>

Class initialization§

new§

:native-object§

Create an object using a native object from an object of the same type found elsewhere. See also Gnome::N::TopLevelSupportClass.

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

Methods§

append§

Adds a $filter to $self to use for matching.

method append ( N-Object() $filter )
Code
  • $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 )
Code
  • $position; position of filter to remove.