Package: gio

Accessor g-simple-action-state

Lambda List

g-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 -- the g-variant value for the state

Details

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

Sets the state of the action to value. 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 function g-action-change-state to request the change.
 

See also

2021-8-1