RSS

Суббота, 21.12.2024, 20:15
Главная » WoW API » Событий API Виджетов »

OnTextChanged

[ править ]
Run when the edit box's text is changed.
[клоны]
Run when the edit box's text is changed. This script is run both when text is typed in the edit box (for each character entered) and when the edit box's contents are changed via :SetText() (but only if the text is actually changed).


Signature:
Code
OnTextChanged(self, userInput)

Arguments:
  • self - Reference to the widget for which the script was run (exitbox)
  • userInput - True if the text changed due to user input; false if the text was changed via :SetText() (boolean)

Доступна для: EditBox

Также смотрите: Событий API Виджетов
Ссылки: http://wowprogramming.com/docs/scripts/OnTextChanged