set_state


Description:

public void set_state (bool state)

Sets the underlying state of the `GtkSwitch`.

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

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

Parameters:

this

a `GtkSwitch`

state

the new state