gui_gettext - Open-Turing-Project/TuringDocs GitHub Wiki

#GUI.GetText

##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.html for setting the text in a text field. See also GUI.CreateTextField.