WoW:API Button GetNormalFontObject

From AddOn Studio
Revision as of 19:48, 4 December 2008 by WoWWiki>Jaycyn (New page: font = Button:GetNormalFontObject(); returns the normal font object that the button is using. i.e. :button:SetNormalFontObject("GameFontNormalSmall") :local font = button:GetNormalFont...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

font = Button:GetNormalFontObject();

returns the normal font object that the button is using.

i.e.

button:SetNormalFontObject("GameFontNormalSmall")
local font = button:GetNormalFontObject();
font would then = "GameFontNormalSmall" which could then be modified with font:SetTextColor etc and then put back into the button.


This is a quickie wiki page and needs to be flushed out.