| 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 |
GI.Gtk.Objects.NothingAction
Description
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.
Constructors
| NothingAction (ManagedPtr NothingAction) |
Instances
| Eq NothingAction Source # | |
Defined in GI.Gtk.Objects.NothingAction | |
| GObject NothingAction Source # | |
Defined in GI.Gtk.Objects.NothingAction | |
| ManagedPtrNewtype NothingAction Source # | |
Defined in GI.Gtk.Objects.NothingAction Methods toManagedPtr :: NothingAction -> ManagedPtr NothingAction | |
| TypedObject NothingAction Source # | |
Defined in GI.Gtk.Objects.NothingAction Methods glibType :: IO GType | |
| IsGValue NothingAction Source # | Convert |
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
Arguments
| :: (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.