RSS

Воскресенье, 22.12.2024, 06:23
Главная » WoW API » API Виджеты » Кнопка »

CheckButton:SetFormattedText("formatString", ...)

[ править ]
Sets the button's label text using format specifiers.
[клоны]
Sets the button's label text using format specifiers. Equivalent to :SetText(format(format, ...)), but does not create a throwaway Lua string object, resulting in greater memory-usage efficiency.


Signature:
Code
Button:SetFormattedText("formatString", ...)

Arguments:
  • formatString - A string containing format specifiers (as with string.format()) (string)
  • ... - A list of values to be included in the formatted string (list)

Также смотрите: Кнопка
Ссылки: http://wowprogramming.com/docs/widgets/Button/SetFormattedText