Skip to content
Tristan Hume edited this page Apr 23, 2012 · 3 revisions

#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.

Clone this wiki locally