ActionGroup.getActionState

Queries the current state of the named action within action_group.

If the action is not stateful then null will be returned. If the action is stateful then the type of the return value is the type given by gio.action_group.ActionGroup.getActionStateType.

The return value (if non-null) should be freed with glib.variant.VariantG.unref when it is no longer required.

interface ActionGroup
getActionState
(
string actionName
)

Parameters

actionName string

the name of the action to query

Return Value

Type: glib.variant.VariantG

the current state of the action