setState

open fun setState(state: Boolean)

Sets the underlying state of the GtkSwitch.

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

See signal@Gtk.Switch::state-set for details.

Parameters

state

the new state