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 |
GI.Gtk.Objects.ActivateAction
Contents
Description
A GtkShortcutAction
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 ActivateAction
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 | |
HasParentTypes ActivateAction Source # | |
Defined in GI.Gtk.Objects.ActivateAction | |
IsGValue (Maybe ActivateAction) Source # | Convert |
Defined in GI.Gtk.Objects.ActivateAction Methods gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe ActivateAction -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe 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
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
Arguments
:: (HasCallStack, MonadIO m) | |
=> m ActivateAction | Returns: The activate action |
Gets the activate action.
This is an action that calls widgetActivate
on the given widget upon activation.