Widget API: GameTooltip:FadeOut

From AddOn Studio
Jump to navigation Jump to search

Widget API ← GameTooltip < FadeOut

Initiates fading out of the GameTooltip over the next few seconds.

GameTooltip:FadeOut()


Details[edit]

Once this method has been called, the GameTooltip will remain at full opacity for one second before fading out over another second and eventually hiding itself. However, if the GameTooltip:Show() method is called while the tooltip is fading out, the fade will be aborted and the tooltip will return to full opacity.

If you must resize a GameTooltip while it is fading and don't want to cancel the fade by calling GameTooltip:Show(), use the following:

GameTooltip:AppendText( "" )