Switch.state

bool state() @property

Get state property.

Returns

The backend state that is controlled by the switch.

See gtk.switch_.Switch.stateSet for details.

void state(bool propval) @property

Set state property.

Parameters

propvalThe backend state that is controlled by the switch. See gtk.switch_.Switch.stateSet for details.