Gnome::Gtk4::MultiFilter
#------------------------------------------------------------------------------- #--[Class Description]---------------------------------------------------------- #-------------------------------------------------------------------------------
Description
Gnome::Gtk4::MultiFilter is the base class for filters that combine multiple filters.
Uml Diagram =for image :src<asset_files/images/plantuml/MultiFilter.png> :width<70%> :class<inline>
#------------------------------------------------------------------------------- #--[Class Initialization]------------------------------------------------------- #-------------------------------------------------------------------------------
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! )
#------------------------------------------------------------------------------- #--[Methods]-------------------------------------------------------------------- #-------------------------------------------------------------------------------
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.