Package: gtk

Accessor gtk:switch-state

Lambda List

gtk:switch-state (object)

Syntax

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

Arguments

object -- a gtk:switch widget
state -- a boolean with the state

Details

Accessor of the state slot of the gtk:switch class. The gtk:switch-active function gets the underlying state of the switch. The (setf gtk:switch-active) function sets the underlying state.

Normally, this is the same as the active property, unless the switch is set up for delayed state changes. This function is typically called from a "state-set" signal handler.
 

See also

2025-2-22