ui.TextBox
classSingle line the player types into
Fields
| Name | Type | Description | |
|---|---|---|---|
| text | string | Current UTF-8 text | |
| hint | string | Greyed text shown while the field is empty | |
Functions
ui.TextBox:focus()
Give the field keyboard focus
Inherited from ui.Widget (3)
Inherited from Object (5)
- name read-only Object name
- Object.find(name) Find an already loaded object by name
- Object.cast(object) Trying to cast Object into Object
- Object:get_class() Class of this object
- Object.get_class() Return Object class object