#include <ubuttongroup.hpp>
Inheritance diagram for ufo::UButtonGroup:
Public Member Functions | |
void | addButton (UButton *button) |
void | removeButton (UButton *button) |
void | setSelectedButton (UButton *button, bool selected) |
UButton * | getSelectedButton () const |
A button group is usually used for an exclusive selection of certain buttons, e.g. radio buttons. It is not a visible container for the buttons.
If one button within the button group is selected, all other buttons are deselected.
|
Adds a new button to the group. |
|
Removes the given button from the group. |
|
Select the given button and deselect all other buttons. |