Gio.Action.prototype.get_enabled

function get_enabled(): Boolean {
    // Gjs wrapper for g_action_get_enabled()
}
  

Checks if action 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

Returns

whether the action is enabled