
Text is used to enter and modify text.
Slots
- border
-
const Bool border := true
Draw a border around the text field. Default is true. This field cannot be changed once the widget is constructed.
- font
-
Font font := null
Font for text. Defaults to null (system default).
-
static internal Str fontId := "font"
-
static internal Str getTextId := "getText"
- hscroll
-
const Bool hscroll := true
True use a horizontal scrollbar for multiLine text widget. Default is true. This field cannot be changed once the widget is constructed.
- multiLine
-
const Bool multiLine := false
False for text fields and true for multiline text areas. Default is false. This field cannot be changed once the widget is constructed.
- onAction
-
|Event| onAction
Callback when Return/Enter key is pressed in a single line text editor (not invoked for multiLine)
- onModify
-
|Event| onModify
Callback when the text is modified.
- password
-
const Bool password := false
True to make this a password text field which hides the characters being typed. Default is false. This field cannot be changed once the widget is constructed.
-
static internal Str setTextId := "setText"
- text
-
Str text
The widget's current text
- vscroll
-
const Bool vscroll := true
True use a vertical scrollbar for multiLine text widget. Default is true. This field cannot be changed once the widget is constructed.
- wrap
-
const Bool wrap := false
True to make wrap the text of a multiLine text widget. Default is false. This field cannot be changed once the widget is constructed.