ComboBox

Choose a single item from a list of items or type a custom value.

Modulerequire("gui")
TypeClass
InheritsComboBox

The ComboBox behaves differently from ComboBox that:

  1. no item is selected by default;
  2. duplicate items are allowed.

Class methods

create()

Create a new ComboBox view.

Return

ComboBox

Methods

setText(text)

Change the text in the view.

Parameters

getText()

Return currently displayed text.

Return

String

Events

onTextChange(self)

Emitted when user has changed text.

Parameters

Preventable

No.