gi-gtk-4.0.5: Gtk bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gtk.Objects.MultiFilter

Description

GtkMultiFilter is the base class for filters that combine multiple filters.

Synopsis

Exported types

class (GObject o, IsDescendantOf MultiFilter o) => IsMultiFilter o Source #

Type class for types which can be safely cast to MultiFilter, for instance with toMultiFilter.

Instances

Instances details
(GObject o, IsDescendantOf MultiFilter o) => IsMultiFilter o Source # 
Instance details

Defined in GI.Gtk.Objects.MultiFilter

toMultiFilter :: (MonadIO m, IsMultiFilter o) => o -> m MultiFilter Source #

Cast to MultiFilter, for types for which this is known to be safe. For general casts, use castTo.

Methods

append

multiFilterAppend Source #

Arguments

:: (HasCallStack, MonadIO m, IsMultiFilter a, IsFilter b) 
=> a

self: a GtkMultiFilter

-> b

filter: A new filter to use

-> m () 

Adds a filter to self to use for matching.

remove

multiFilterRemove Source #

Arguments

:: (HasCallStack, MonadIO m, IsMultiFilter a) 
=> a

self: a GtkMultiFilter

-> Word32

position: position of filter to remove

-> m () 

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.