ActionT.getState

Queries the current state of @action.

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_get_state_type().

The return value (if non-%NULL) should be freed with g_variant_unref() when it is no longer required.

Return: the current state of the action

template ActionT(TStruct)
Variant
getState
()

Meta

Since

2.28