Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
GtkAnyFilter
matches an item when at least one of its filters matches.
To add filters to a GtkAnyFilter
, use multiFilterAppend
.
Synopsis
- newtype AnyFilter = AnyFilter (ManagedPtr AnyFilter)
- class (GObject o, IsDescendantOf AnyFilter o) => IsAnyFilter o
- toAnyFilter :: (MonadIO m, IsAnyFilter o) => o -> m AnyFilter
- anyFilterNew :: (HasCallStack, MonadIO m) => m AnyFilter
Exported types
Memory-managed wrapper type.
Instances
Eq AnyFilter Source # | |
GObject AnyFilter Source # | |
Defined in GI.Gtk.Objects.AnyFilter | |
ManagedPtrNewtype AnyFilter Source # | |
Defined in GI.Gtk.Objects.AnyFilter | |
TypedObject AnyFilter Source # | |
Defined in GI.Gtk.Objects.AnyFilter | |
HasParentTypes AnyFilter Source # | |
Defined in GI.Gtk.Objects.AnyFilter | |
IsGValue (Maybe AnyFilter) Source # | Convert |
Defined in GI.Gtk.Objects.AnyFilter | |
type ParentTypes AnyFilter Source # | |
Defined in GI.Gtk.Objects.AnyFilter |
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
(GObject o, IsDescendantOf AnyFilter o) => IsAnyFilter o Source # | |
Defined in GI.Gtk.Objects.AnyFilter |
toAnyFilter :: (MonadIO m, IsAnyFilter o) => o -> m AnyFilter Source #
Methods
Click to display all available methods, including inherited ones
Methods
append, bindProperty, bindPropertyFull, changed, forceFloating, freezeNotify, getv, isFloating, itemsChanged, match, notify, notifyByPspec, ref, refSink, remove, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getBuildableId, getData, getItem, getItemType, getNItems, getProperty, getQdata, getStrictness.
Setters
new
:: (HasCallStack, MonadIO m) | |
=> m AnyFilter | Returns: a new |
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.