Function BaseButton.toggleMode

If true, the button is in toggle mode. Makes the button flip state between pressed and unpressed each time its area is clicked.

bool toggleMode() nothrow @property @nogc;

void toggleMode (
  bool v
) nothrow @property @nogc;