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