state


Description:

public bool state { get; set; }

The backend state that is controlled by the switch.

Applications should usually set the [property@Gtk.Switch:active] property, except when indicating a change to the backend state which occurs separately from the user's interaction.

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