WoW:API GameTooltip FadeOut: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Documented GameTooltip:FadeOut and its interaction with GameTooltip:Show)
 
m (Move page script moved page API GameTooltip FadeOut to API GameTooltip FadeOut without leaving a redirect)
 
(No difference)

Latest revision as of 04:45, 15 August 2023

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