ActionGroup.getActionEnabled

bool getActionEnabled(string actionName)

Checks if the named action within action_group is currently enabled.

An action must be enabled in order to be activated or in order to have its state changed from outside callers.

Parameters

actionNamethe name of the action to query

Returns

whether or not the action is currently enabled