gi-gtk4-4.0.12: Gtk 4.x bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.AnyFilter

Description

Matches an item when at least one of its filters matches.

To add filters to a GtkAnyFilter, use multiFilterAppend.

Synopsis

Exported types

newtype AnyFilter Source #

Memory-managed wrapper type.

Instances

Instances details
Eq AnyFilter Source # 
Instance details

Defined in GI.Gtk.Objects.AnyFilter

GObject AnyFilter Source # 
Instance details

Defined in GI.Gtk.Objects.AnyFilter

ManagedPtrNewtype AnyFilter Source # 
Instance details

Defined in GI.Gtk.Objects.AnyFilter

TypedObject AnyFilter Source # 
Instance details

Defined in GI.Gtk.Objects.AnyFilter

Methods

glibType :: IO GType #

HasParentTypes AnyFilter Source # 
Instance details

Defined in GI.Gtk.Objects.AnyFilter

IsGValue (Maybe AnyFilter) Source #

Convert AnyFilter to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Gtk.Objects.AnyFilter

type ParentTypes AnyFilter Source # 
Instance details

Defined in GI.Gtk.Objects.AnyFilter

type ParentTypes AnyFilter = '[MultiFilter, Filter, Object, ListModel, Buildable]

class (GObject o, IsDescendantOf AnyFilter o) => IsAnyFilter o Source #

Type class for types which can be safely cast to AnyFilter, for instance with toAnyFilter.

Instances

Instances details
(GObject o, IsDescendantOf AnyFilter o) => IsAnyFilter o Source # 
Instance details

Defined in GI.Gtk.Objects.AnyFilter

toAnyFilter :: (MonadIO m, IsAnyFilter o) => o -> m AnyFilter Source #

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

Methods

new

anyFilterNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m AnyFilter

Returns: a new GtkAnyFilter

Creates a new empty "any" filter.

Use multiFilterAppend 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.