Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:Widget API
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== [[UIOBJECT GameTooltip|GameTooltip]] === The tooltip automatically resizes itself when its Show() method is called. : {{id|API|GameTooltip|AddDoubleLine}}(textL, textR, rL, gL, bL, rR, gR, bR) : {{id|API|GameTooltip|AddFontStrings}}(leftstring, rightstring) - Dynamically expands the size of a tooltip (added 1.11) : {{id|API|GameTooltip|AddLine}}("text" [, red, green, blue [, wrapText]]) - Appends a new line to the tooltip. : {{id|API|GameTooltip|AddTexture}}("texture") - Add a texture to the last line added. : {{id|API|GameTooltip|AppendText}}("text") - Append text to the end of the first line of the tooltip. : {{id|API|GameTooltip|ClearLines}}() - Clear all lines of tooltip (both left and right ones) : {{id|API|GameTooltip|FadeOut}} : {{id|API|GameTooltip|GetAnchorType}}() - Returns the current anchoring type. : {{id|API|GameTooltip|GetItem}}() - Returns name, link. : {{id|API|GameTooltip|GetMinimumWidth}}() - : {{id|API|GameTooltip|GetSpell}}() - Returns name, rank. : {{id|API|GameTooltip|GetOwner}}() - Returns owner frame, anchor. : {{id|API|GameTooltip|GetUnit}}() - Returns unit name, unit id. : {{id|API|GameTooltip|IsUnit}}("unit") - Returns bool. : {{id|API|GameTooltip|NumLines}}() - Get the number of lines in the tooltip. : {{id|API|GameTooltip|SetAction}}(slot) - Shows the tooltip for the specified action button. : {{id|API|GameTooltip|SetAuctionCompareItem}}("type", index[, offset]) : {{id|API|GameTooltip|SetAuctionItem}}("type", index) - Shows the tooltip for the specified auction item. : {{id|API|GameTooltip|SetAuctionSellItem}} : {{id|API|GameTooltip|SetBackpackToken}}(id) - : {{id|API|GameTooltip|SetBagItem}}(bag, slot) : {{id|API|GameTooltip|SetBuybackItem}} : REMOVED {{id|API|GameTooltip|SetCraftItem}} (removed 3.0.2) : REMOVED {{id|API|GameTooltip|SetCraftSpell}} (removed 3.0.2) : {{id|API|GameTooltip|SetCurrencyToken}}(tokenId) - Shows the tooltip for the specified token : {{id|API|GameTooltip|SetFrameStack}}(showhidden) - Shows the mouseover frame stack, used for debugging. : {{id|API|GameTooltip|SetGlyph}}(id) - : {{id|API|GameTooltip|SetGuildBankItem}}(tab, id) - Shows the tooltip for the specified guild bank item : {{id|API|GameTooltip|SetHyperlink}}("itemString" or "itemLink") - Changes the item which is displayed in the tooltip according to the passed argument. : {{id|API|GameTooltip|SetHyperlinkCompareItem}}("itemLink", index) - Sets a comparison tooltip for the index. returns true if comparison. [index 1 .. 3] : {{id|API|GameTooltip|SetInboxItem}}(index) - Shows the tooltip for the specified mail inbox item. : {{id|API|GameTooltip|SetInventoryItem}}(unit, slot[, nameOnly]) : {{id|API|GameTooltip|SetLootItem}} : {{id|API|GameTooltip|SetLootRollItem}}(id) - Shows the tooltip for the specified loot roll item. : {{id|API|GameTooltip|SetMerchantCompareItem}}("slot"[, offset]) : {{id|API|GameTooltip|SetMerchantItem}} : {{id|API|GameTooltip|SetMinimumWidth}}(width) - (Formerly SetMoneyWidth) : {{id|API|GameTooltip|SetOwner}}(owner, "anchor"[, +x, +y]) : {{id|API|GameTooltip|SetPadding}} : {{id|API|GameTooltip|SetPetAction}}(slot) - Shows the tooltip for the specified pet action. : REMOVED {{id|API|GameTooltip|SetPlayerBuff}}(buffIndex) - Direct the tooltip to show information about a player's buff. (removed 3.0.2) : {{id|API|GameTooltip|SetQuestItem}} : {{id|API|GameTooltip|SetQuestLogItem}} : {{id|API|GameTooltip|SetQuestLogRewardSpell}} - Shows the tooltip for the spell reward of the currently selected quest. : {{id|API|GameTooltip|SetQuestRewardSpell}} : {{id|API|GameTooltip|SetSendMailItem}} : {{id|API|GameTooltip|SetShapeshift}}(slot) - Shows the tooltip for the specified shapeshift form. : {{id|API|GameTooltip|SetSpell}}(spellId, bookType) - Shows the tooltip for the specified spell. : {{id|API|GameTooltip|SetTalent}}(tabIndex, talentIndex) - Shows the tooltip for the specified talent. : {{id|API|GameTooltip|SetText}}("text"[, red, green, blue[, alpha[, textWrap]]]) - Set the text of the tooltip. : {{id|API|GameTooltip|SetTracking}} : {{id|API|GameTooltip|SetTradePlayerItem}} : {{id|API|GameTooltip|SetTradeSkillItem}} : {{id|API|GameTooltip|SetTradeTargetItem}} : {{id|API|GameTooltip|SetTrainerService}} : {{id|API|GameTooltip|SetUnit}} : {{id|API|GameTooltip|SetUnitAura}}("[[unitId]]", auraIndex[, filter]) - Shows the tooltip for a unit's aura. (Exclusive to 3.x.x / WotLK) : {{id|API|GameTooltip|SetUnitBuff}}("[[unitId]]", buffIndex[, raidFilter]) - Shows the tooltip for a unit's buff. : {{id|API|GameTooltip|SetUnitDebuff}}("[[unitId]]", buffIndex[, raidFilter]) - Shows the tooltip for a unit's debuff.
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)