Choicebox
This function creates a choicebox widget. This allows the user to select from several options by clicking on the widget.
Syntax
- static Widget* Choicebox(const int x, const int y, const int width, const int height, Widget* parent)
Parameters
- x: X position of the widget, in logical units.
- y: Y position of the widget, in logical units.
- width: width of the widget, in logical units.
- height: height of the widget, in logical units.
Returns
Returns a new choicebox.