RSS

Пятница, 26.04.2024, 02:00
Главная » 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