Widget API: GameTooltip:AddTexture

Revision as of 22:59, 3 March 2007 by WoWWiki>Egingell
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Widget API ← GameTooltip < AddTexture

Title -Documentation by Egingell-
--[[
 PNG or BLP (without the .blp extension) relative to the Addon's directory with the WoW install
 directory being the top level (eg "\\interface" = "C:\\Program Files\\World of Warcraft\\interface").
 You'll probably use the texture returned by GetItemInfo().
--]]
 GameTooltip:AddTexture(texture);


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

Note: There appears to be a limit of 8 textures per tooltip.