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