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

GI.Gtk.Objects.ActivateAction

Description

A GtkShortcutAction that calls widgetActivate.

Synopsis

Exported types

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.