Package: gtk

Accessor gtk:switch-active

Lambda List

gtk:switch-active (object)

Syntax

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

Arguments

object -- a gtk:switch widget
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 function gets whether the switch is in its "on" or "off" state. The (setf gtk:switch-active) function changes the state of the switch to the desired one.
 

See also

2024-5-7