Sets the underlying state of the GtkSwitch.
Normally, this is the same as [property@Gtk.Switch:active], unless the switch is set up for delayed state changes. This function is typically called from a [signal@Gtk.Switch`::state-set] signal handler.
See [signal@Gtk.Switch::state-set] for details.
the new state
See Implementation
Sets the underlying state of the GtkSwitch.
Normally, this is the same as [property@Gtk.Switch:active], unless the switch is set up for delayed state changes. This function is typically called from a [signal@Gtk.Switch`::state-set] signal handler.
See [signal@Gtk.Switch::state-set] for details.