Package: gio

Accessor gio:simple-action-state

Lambda List

gio:simple-action-state (object)

Syntax

(g:simple-action-state object) => value
(setf (g:simple-action-state object) value)

Arguments

object -- a g:simple-action object
value -- a g:variant parameter for the state

Details

The accessor for the state slot of the g:simple-action class gets or sets the state of the action. This directly updates the state property to the given value. This should only be called by the implementor of the action. Users of the action should not attempt to directly modify the state property. Instead, they should call the g:action-change-state function to request the change.
 

See also

2025-09-27