gi-gtk-4.0.9: Gtk bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gtk.Objects.ActivateAction

Description

A GtkShortcutAction that calls widgetActivate.

Synopsis

Exported types

newtype ActivateAction Source #

Memory-managed wrapper type.

Constructors

ActivateAction (ManagedPtr ActivateAction) 

Instances

Instances details
Eq ActivateAction Source # 
Instance details

Defined in GI.Gtk.Objects.ActivateAction

GObject ActivateAction Source # 
Instance details

Defined in GI.Gtk.Objects.ActivateAction

ManagedPtrNewtype ActivateAction Source # 
Instance details

Defined in GI.Gtk.Objects.ActivateAction

TypedObject ActivateAction Source # 
Instance details

Defined in GI.Gtk.Objects.ActivateAction

Methods

glibType :: IO GType

HasParentTypes ActivateAction Source # 
Instance details

Defined in GI.Gtk.Objects.ActivateAction

IsGValue (Maybe ActivateAction) Source #

Convert ActivateAction to and from GValue. See toGValue and fromGValue.

Instance details

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 # 
Instance details

Defined in GI.Gtk.Objects.ActivateAction

type ParentTypes ActivateAction = '[ShortcutAction, Object]

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

Instances details
(GObject o, IsDescendantOf ActivateAction o) => IsActivateAction o Source # 
Instance details

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

get

activateActionGet Source #

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.