Widget API: GameTooltip:GetItem

Revision as of 08:20, 17 July 2007 by WoWWiki>Egingell ('tis new)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Widget API ← GameTooltip < GetItem


itemName, ItemLink = GameTooltip:GetItem();

Return the returns the name and link of the item that was passed to GameTooltip:SetHyperlink()


Arguments
none

Returns
itemName, ItemLink
itemName
Plain text item name (e.g. "Broken Fang").
ItemLink
Formatted item link (e.g. "|cff9d9d9d|Hitem:7073:0:0:0:0:0:0:0|h[Broken Fang]|h|r").