Button.value
bool value() const nothrow @nogcGets the button's value (pressed state).
For toggle buttons, this indicates whether the button is on or off.
Returns
true if button is pressed/on
void value(bool pressed) nothrow @nogcSets the button's value (pressed state).
Parameters
pressed | true to set button as pressed/on |