SimpleAction.enabled

bool enabled() @property

Get enabled property.

Returns

If @action is currently enabled.

If the action is disabled then calls to [gio.action.Action.activate] and [gio.action.Action.changeState] have no effect.

void enabled(bool propval) @property

Set enabled property.

Parameters

propvalIf @action is currently enabled. If the action is disabled then calls to [gio.action.Action.activate] and [gio.action.Action.changeState] have no effect.