Gio.ActionGroup.prototype.get_action_enabled
function get_action_enabled(action_name: String): Boolean { // Gjs wrapper for g_action_group_get_action_enabled() }
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.
Since 2.28
- action_name
the name of the action to query
- Returns
whether or not the action is currently enabled