Switch.active

bool active() @property nothrow

Get active property.

Returns

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

Set active property.

Parameters

propvalWhether the #GtkSwitch widget is in its on or off state.