ActionGroupT.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 g_action_group_get_action_state_type(). The return value (if non-NULL) should be freed with g_variant_unref() when it is no longer required. Since 2.28

template ActionGroupT(TStruct)
Variant
getActionState
(
string actionName
)

Parameters

actionName string

the name of the action to query

Return Value

Type: Variant

the current state of the action. [allow-none]

Meta