Go to the source code of this file.
◆ button_type
The type of button.
| Enumerator |
|---|
| momentary | A momentary button.
A momentary button does not have state. It is used to activate a function each time the button is activated.
Example momentary button widgets:
|
| toggle | A toggle button.
Activating a toggle button switches the state between 'on' and 'off'. If the state was 'other' activation will switch the state to 'off'.
Example toggle button widgets:
|
| radio | A radio button.
Activating a radio button will always switch to the 'on' state. Other radio buttons in a set will have different on-values and change the shared state.
Example radio button widgets:
|