ComboBox

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

Modulerequire("yue.gui")
TypeClass
InheritsPicker

The ComboBox behaves differently from Picker 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.