Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
GtkMultiFilter
is the base class for filters that combine multiple filters.
Synopsis
- newtype MultiFilter = MultiFilter (ManagedPtr MultiFilter)
- class (GObject o, IsDescendantOf MultiFilter o) => IsMultiFilter o
- toMultiFilter :: (MonadIO m, IsMultiFilter o) => o -> m MultiFilter
- multiFilterAppend :: (HasCallStack, MonadIO m, IsMultiFilter a, IsFilter b) => a -> b -> m ()
- multiFilterRemove :: (HasCallStack, MonadIO m, IsMultiFilter a) => a -> Word32 -> m ()
- getMultiFilterItemType :: (MonadIO m, IsMultiFilter o) => o -> m GType
- getMultiFilterNItems :: (MonadIO m, IsMultiFilter o) => o -> m Word32
Exported types
newtype MultiFilter Source #
Memory-managed wrapper type.
Instances
Eq MultiFilter Source # | |
Defined in GI.Gtk.Objects.MultiFilter (==) :: MultiFilter -> MultiFilter -> Bool # (/=) :: MultiFilter -> MultiFilter -> Bool # | |
GObject MultiFilter Source # | |
Defined in GI.Gtk.Objects.MultiFilter | |
ManagedPtrNewtype MultiFilter Source # | |
Defined in GI.Gtk.Objects.MultiFilter | |
TypedObject MultiFilter Source # | |
Defined in GI.Gtk.Objects.MultiFilter | |
HasParentTypes MultiFilter Source # | |
Defined in GI.Gtk.Objects.MultiFilter | |
IsGValue (Maybe MultiFilter) Source # | Convert |
Defined in GI.Gtk.Objects.MultiFilter gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe MultiFilter -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe MultiFilter) # | |
type ParentTypes MultiFilter Source # | |
Defined in GI.Gtk.Objects.MultiFilter |
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
(GObject o, IsDescendantOf MultiFilter o) => IsMultiFilter o Source # | |
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
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
append
:: (HasCallStack, MonadIO m, IsMultiFilter a, IsFilter b) | |
=> a |
|
-> b |
|
-> m () |
Adds a filter
to self
to use for matching.
remove
:: (HasCallStack, MonadIO m, IsMultiFilter a) | |
=> a |
|
-> Word32 |
|
-> 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.
Properties
itemType
The type of items. See listModelGetItemType
.
Since: 4.8
getMultiFilterItemType :: (MonadIO m, IsMultiFilter o) => o -> m GType Source #
Get the value of the “item-type
” property.
When overloading is enabled, this is equivalent to
get
multiFilter #itemType
nItems
The number of items. See listModelGetNItems
.
Since: 4.8
getMultiFilterNItems :: (MonadIO m, IsMultiFilter o) => o -> m Word32 Source #
Get the value of the “n-items
” property.
When overloading is enabled, this is equivalent to
get
multiFilter #nItems