Widget API: GameTooltip:FadeOut

From AddOn Studio
Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GameTooltip FadeOut to API GameTooltip FadeOut without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Widget API ← GameTooltip < FadeOut

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

GameTooltip:FadeOut()


Details

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( "" )