ListBox
This function creates a listbox widget. The listbox will display a list of items the user can select from.
Syntax
- static Widget* ListBox(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 listbox.