Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
A GtkShortcutAction
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 MnemonicAction
Exported types
newtype MnemonicAction Source #
Memory-managed wrapper type.
MnemonicAction (ManagedPtr MnemonicAction) |
Instances
Eq MnemonicAction Source # | |
Defined in GI.Gtk.Objects.MnemonicAction (==) :: MnemonicAction -> MnemonicAction -> Bool # (/=) :: MnemonicAction -> MnemonicAction -> Bool # | |
GObject MnemonicAction Source # | |
Defined in GI.Gtk.Objects.MnemonicAction | |
ManagedPtrNewtype MnemonicAction Source # | |
Defined in GI.Gtk.Objects.MnemonicAction toManagedPtr :: MnemonicAction -> ManagedPtr MnemonicAction | |
TypedObject MnemonicAction Source # | |
Defined in GI.Gtk.Objects.MnemonicAction | |
HasParentTypes MnemonicAction Source # | |
Defined in GI.Gtk.Objects.MnemonicAction | |
IsGValue (Maybe MnemonicAction) Source # | Convert |
Defined in GI.Gtk.Objects.MnemonicAction gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe MnemonicAction -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe 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
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 MnemonicAction | Returns: The mnemonic action |
Gets the mnemonic action.
This is an action that calls widgetMnemonicActivate
on the given widget upon activation.