Entry

Single-line text input view.

Modulerequire("gui")
TypeClass
InheritsView

Class methods

create()

Create a normal Entry.

Return

Entry

createType(type)

Create an Entry with type.

Parameters

Return

Entry

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.

onActivate(self)

Emitted when user has pressed Enter in the view.

Parameters

Preventable

No.