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 calls widgetMnemonicActivate
.
Synopsis
- newtype MnemonicAction = MnemonicAction (ManagedPtr MnemonicAction)
- class (GObject o, IsDescendantOf MnemonicAction o) => IsMnemonicAction o
- toMnemonicAction :: (MonadIO m, IsMnemonicAction o) => o -> m MnemonicAction
- mnemonicActionGet :: (HasCallStack, MonadIO m) => m ShortcutAction
Exported types
newtype MnemonicAction Source #
Memory-managed wrapper type.
Instances
Eq MnemonicAction Source # | |
Defined in GI.Gtk.Objects.MnemonicAction (==) :: MnemonicAction -> MnemonicAction -> Bool # (/=) :: MnemonicAction -> MnemonicAction -> Bool # | |
IsGValue MnemonicAction Source # | Convert |
Defined in GI.Gtk.Objects.MnemonicAction toGValue :: MnemonicAction -> IO GValue # fromGValue :: GValue -> IO MnemonicAction # | |
ManagedPtrNewtype MnemonicAction Source # | |
Defined in GI.Gtk.Objects.MnemonicAction | |
TypedObject MnemonicAction Source # | |
Defined in GI.Gtk.Objects.MnemonicAction | |
GObject MnemonicAction Source # | |
Defined in GI.Gtk.Objects.MnemonicAction | |
HasParentTypes MnemonicAction Source # | |
Defined in GI.Gtk.Objects.MnemonicAction | |
type ParentTypes MnemonicAction Source # | |
Defined in GI.Gtk.Objects.MnemonicAction |
class (GObject o, IsDescendantOf MnemonicAction o) => IsMnemonicAction o Source #
Type class for types which can be safely cast to MnemonicAction
, for instance with toMnemonicAction
.
Instances
(GObject o, IsDescendantOf MnemonicAction o) => IsMnemonicAction o Source # | |
Defined in GI.Gtk.Objects.MnemonicAction |
toMnemonicAction :: (MonadIO m, IsMnemonicAction o) => o -> m MnemonicAction Source #
Cast to MnemonicAction
, 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 mnemonic action |
Gets the mnemonic action. This is an action that calls
widgetMnemonicActivate
on the given widget upon activation.