Switch.setState

Sets the underlying state of the gtk.switch_.Switch.

This function is typically called from a signalGtk.Switch::state-set signal handler in order to set up delayed state changes.

See signalGtk.Switch::state-set for details.

class Switch
void
setState
(
bool state
)

Parameters

state bool

the new state