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 ShortcutAction
that does nothing.
Synopsis
- newtype NothingAction = NothingAction (ManagedPtr NothingAction)
- class (GObject o, IsDescendantOf NothingAction o) => IsNothingAction o
- toNothingAction :: (MonadIO m, IsNothingAction o) => o -> m NothingAction
- nothingActionGet :: (HasCallStack, MonadIO m) => m NothingAction
Exported types
newtype NothingAction Source #
Memory-managed wrapper type.
NothingAction (ManagedPtr NothingAction) |
Instances
Eq NothingAction Source # | |
Defined in GI.Gtk.Objects.NothingAction (==) :: NothingAction -> NothingAction -> Bool # (/=) :: NothingAction -> NothingAction -> Bool # | |
GObject NothingAction Source # | |
Defined in GI.Gtk.Objects.NothingAction | |
ManagedPtrNewtype NothingAction Source # | |
Defined in GI.Gtk.Objects.NothingAction toManagedPtr :: NothingAction -> ManagedPtr NothingAction | |
TypedObject NothingAction Source # | |
Defined in GI.Gtk.Objects.NothingAction | |
HasParentTypes NothingAction Source # | |
Defined in GI.Gtk.Objects.NothingAction | |
IsGValue (Maybe NothingAction) Source # | Convert |
Defined in GI.Gtk.Objects.NothingAction gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe NothingAction -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe NothingAction) | |
type ParentTypes NothingAction Source # | |
Defined in GI.Gtk.Objects.NothingAction |
class (GObject o, IsDescendantOf NothingAction o) => IsNothingAction o Source #
Type class for types which can be safely cast to NothingAction
, for instance with toNothingAction
.
Instances
(GObject o, IsDescendantOf NothingAction o) => IsNothingAction o Source # | |
Defined in GI.Gtk.Objects.NothingAction |
toNothingAction :: (MonadIO m, IsNothingAction o) => o -> m NothingAction Source #
Cast to NothingAction
, 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
activate, bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, print, ref, refSink, runDispose, stealData, stealQdata, thawNotify, toString, unref, watchClosure.
Getters
getData, getProperty, getQdata.
Setters
get
:: (HasCallStack, MonadIO m) | |
=> m NothingAction | Returns: The nothing action |
Gets the nothing action. This is an action that does nothing and where activating it always fails.