Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
A ShortcutTrigger
that never triggers.
Synopsis
- newtype NeverTrigger = NeverTrigger (ManagedPtr NeverTrigger)
- class (GObject o, IsDescendantOf NeverTrigger o) => IsNeverTrigger o
- toNeverTrigger :: (MonadIO m, IsNeverTrigger o) => o -> m NeverTrigger
- neverTriggerGet :: (HasCallStack, MonadIO m) => m NeverTrigger
Exported types
newtype NeverTrigger Source #
Memory-managed wrapper type.
NeverTrigger (ManagedPtr NeverTrigger) |
Instances
Eq NeverTrigger Source # | |
Defined in GI.Gtk.Objects.NeverTrigger (==) :: NeverTrigger -> NeverTrigger -> Bool # (/=) :: NeverTrigger -> NeverTrigger -> Bool # | |
GObject NeverTrigger Source # | |
Defined in GI.Gtk.Objects.NeverTrigger | |
ManagedPtrNewtype NeverTrigger Source # | |
Defined in GI.Gtk.Objects.NeverTrigger toManagedPtr :: NeverTrigger -> ManagedPtr NeverTrigger | |
TypedObject NeverTrigger Source # | |
Defined in GI.Gtk.Objects.NeverTrigger | |
HasParentTypes NeverTrigger Source # | |
Defined in GI.Gtk.Objects.NeverTrigger | |
IsGValue (Maybe NeverTrigger) Source # | Convert |
Defined in GI.Gtk.Objects.NeverTrigger gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe NeverTrigger -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe NeverTrigger) | |
type ParentTypes NeverTrigger Source # | |
Defined in GI.Gtk.Objects.NeverTrigger |
class (GObject o, IsDescendantOf NeverTrigger o) => IsNeverTrigger o Source #
Type class for types which can be safely cast to NeverTrigger
, for instance with toNeverTrigger
.
Instances
(GObject o, IsDescendantOf NeverTrigger o) => IsNeverTrigger o Source # | |
Defined in GI.Gtk.Objects.NeverTrigger |
toNeverTrigger :: (MonadIO m, IsNeverTrigger o) => o -> m NeverTrigger Source #
Cast to NeverTrigger
, 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
bindProperty, bindPropertyFull, compare, equal, forceFloating, freezeNotify, getv, hash, isFloating, notify, notifyByPspec, print, printLabel, ref, refSink, runDispose, stealData, stealQdata, thawNotify, toLabel, toString, trigger, unref, watchClosure.
Getters
getData, getProperty, getQdata.
Setters
get
:: (HasCallStack, MonadIO m) | |
=> m NeverTrigger | Returns: The never trigger |
Gets the never trigger. This is a singleton for a trigger
that never triggers. Use this trigger instead of Nothing
because it implements all virtual functions.