Switch.active

bool active() @property

Get active property.

Returns

Whether the [gtk.switch_.Switch] widget is in its on or off state.
void active(bool propval) @property

Set active property.

Parameters

propvalWhether the [gtk.switch_.Switch] widget is in its on or off state.