RSS

Вторник, 05.11.2024, 08:32
Главная » WoW API » API Виджеты » Внутриигровая подсказка »

GameTooltip:SetText("text" [, r [, g [, b [, a]]]])

[ править ]
Sets the tooltip's text.
[клоны]
Sets the tooltip's text. Any other content currently displayed in the tooltip will be removed or hidden, and the tooltip's size will be adjusted to fit the new text.


Signature:
Code
GameTooltip:SetText("text" [, r [, g [, b [, a]]]])

Arguments:
  • text - Text to be displayed in the tooltip (string)
  • r - Red component of the text color (0.0 - 1.0) (number)
  • g - Green component of the text color (0.0 - 1.0) (number)
  • b - Blue component of the text color (0.0 - 1.0) (number)
  • a - Alpha (opacity) for the text (0.0 = fully transparent, 1.0 = fully opaque) (number)

Также смотрите: Внутриигровая подсказка
Ссылки: http://wowprogramming.com/docs/widgets/GameTooltip/SetText