Package: gio

Accessor g-simple-action-enabled

Lambda List

g-simple-action-enabled (object)

Syntax

(g-simple-action-enabled object) => enabled
(setf (g-simple-action-enabled object) enabled)

Arguments

object -- a g-simple-action object
enabled -- a boolean whether the action is enabled

Details

Accessor of the enabled slot of the g-simple-action class.

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

This should only be called by the implementor of the action. Users of the action should not attempt to modify its enabled flag.
 

See also

2021-8-1