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 slot access function gets the underlying state of the switch. The (setf gtk-switch-active) slot access function 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 the "state-set" signal for details.
 

See also

2021-12-23