Package: gtk

Accessor gtk-switch-active

Lambda List

gtk-switch-active (object)

Syntax

(gtk-switch-active object) => is-active)
(setf (gtk-switch-active object) is-active)

Arguments

object -- a gtk-switch widget
is-active -- true if the switch should be active, and false otherwise

Details

Accessor of the active slot of the gtk-switch class.

The gtk-switch-active slot access function gets whether the switch is in its "on" or "off" state. The (setf gtk-switch-active) slot access function changes the state of the switch to the desired one.
 

See also

*2021-12-23