WoW:API GameTooltip AddTexture: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Added some certainty, removed explanation of texture path (which is covered elsewhere on this site))
m (Move page script moved page API GameTooltip AddTexture to API GameTooltip AddTexture without leaving a redirect)
 
(No difference)

Latest revision as of 04:45, 15 August 2023

Widget API ← GameTooltip < AddTexture


 GameTooltip:AddTexture(texturePath)


Adds a texture (icon) to the beginning of the last line added by AddLine(), AddDoubleLine(), etc.

Note: There is a limit of 10 textures per tooltip (as seen in GameTooltipTemplate.xml)