Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
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 ShortcutAction
Exported types
newtype NothingAction Source #
Memory-managed wrapper type.
Instances
Eq NothingAction Source # | |
Defined in GI.Gtk.Objects.NothingAction (==) :: NothingAction -> NothingAction -> Bool # (/=) :: NothingAction -> NothingAction -> Bool # | |
IsGValue NothingAction Source # | Convert |
Defined in GI.Gtk.Objects.NothingAction toGValue :: NothingAction -> IO GValue # fromGValue :: GValue -> IO NothingAction # | |
ManagedPtrNewtype NothingAction Source # | |
Defined in GI.Gtk.Objects.NothingAction | |
TypedObject NothingAction Source # | |
Defined in GI.Gtk.Objects.NothingAction | |
GObject NothingAction Source # | |
Defined in GI.Gtk.Objects.NothingAction | |
HasParentTypes NothingAction Source # | |
Defined in GI.Gtk.Objects.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
Overloaded methods
get
:: (HasCallStack, MonadIO m) | |
=> m ShortcutAction | Returns: The nothing action |
Gets the nothing action. This is an action that does nothing and where activating it always fails.