Switch.setState

void setState(bool state)

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

This function is typically called from a gtk.switch_.Switch.stateSet signal handler in order to set up delayed state changes.

See gtk.switch_.Switch.stateSet for details.

Parameters

statethe new state