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 for the state

Details

The accessor for the state slot of the gtk:switch class gets or sets the underlying state of the switch.

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-08-06