ComboBox
Choose a single item from a list of items or type a custom value.
| Module | require("gui") |
| Type | Class |
| Inherits | Picker |
The ComboBox behaves differently from Picker that:
- no item is selected by default;
- duplicate items are allowed.
Class methods
create()
Create a new ComboBox view.
Return
ComboBoxMethods
setText(text)
Change the text in the view.
Parameters
Stringtext
getText()
Return currently displayed text.
Return
StringEvents
onTextChange(self)
Emitted when user has changed text.
Parameters
Entryself