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