GUI.GetText

OpenTuring

GUI.GetTextPart of GUI module

Syntax   GUI.GetText (widgetID : int) : string

Description   Returns the current text of a text field specified by widgetID. The widgetID must specify a text field widget.

Example   See GUI.CreateTextField for an example of GUI.GetText.

Status   Exported qualified.

This means that you can only call the function by calling GUI.GetText, not by calling GetText.

See also   GUI.SetText for setting the text in a text field. See also GUI.CreateTextField.