Switch.state

bool state() @property

Get state property.

Returns

The backend state that is controlled by the switch.

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

void state(bool propval) @property

Set state property.

Parameters

propvalThe backend state that is controlled by the switch. See signal@Gtk.Switch::state-set for details.