Switch.active

bool active() @property nothrow

Get active property.

Returns

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

Set active property.

Parameters

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