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.AnyFilter

Description

GtkAnyFilter 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.

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.