SimpleActionGidBuilderImpl.enabled

T enabled(bool propval)

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.

Returns

Builder instance for fluent chaining