ToggleRoundButton.on

bool on() const nothrow @nogc

Gets or sets the on/off state of the button.

Returns

true if the button is on (selected), false otherwise.
void on(bool state) nothrow @nogc

ditto