TextInputEvent

Package: Libraries.Interface.Events · Inherits from: Libraries.Language.Object

Actions

GetText()

Returns

text

GetUnicodeValue()

Returns

integer

SetKeyUsed(boolean used)

This action indicates if the text input from this event was produced using a keypress that has already been used to trigger a Behavior elsewhere in the engine. For example, pressing CONTROL + SPACE in a code editor text box might open code completion, and then also produce a "Space" text input -- in this case, this value would return true.

Parameters

  • used boolean

SetText(text newValue)

Parameters

  • newValue text

SetUnicodeValue(integer value)

Parameters

  • value integer

WasKeyUsed()

This action indicates if the text input from this event was produced using a keypress that has already been used to trigger a Behavior elsewhere in the engine. For example, pressing CONTROL + SPACE in a code editor text box might open code completion, and then also produce a "Space" text input -- in this case, this value would return true.

Returns

boolean

Inherited Actions

3 actions from Libraries.Language.Object