WoW:API Button GetNormalFontObject: Difference between revisions
Jump to navigation
Jump to search
(New page: font = Button:GetNormalFontObject(); returns the normal font object that the button is using. i.e. :button:SetNormalFontObject("GameFontNormalSmall") :local font = button:GetNormalFont...) |
No edit summary |
||
Line 1: | Line 1: | ||
{{widgetmethod}} __NOTOC__ | |||
<!-- Describe the purpose of the function, exhausting detail can be saved for a later section --> | |||
Returns the normal font object that the button is using. | |||
: | <!-- List return values and arguments as well as function name, follow Blizzard usage convention for args --> | ||
font = Button:GetNormalFontObject(); | |||
== Returns == | |||
<!-- List each return value, together with its type --> | |||
:font | :font = "GameFontNormalSmall" which could then be modified with font:SetTextColor etc and then put back into the button. | ||
== Also See == | |||
* [[API_Button_SetNormalFontObject]] |
Revision as of 23:27, 8 January 2009
← Widget API ← Button < GetNormalFontObject
Returns the normal font object that the button is using.
font = Button:GetNormalFontObject();
Returns
- font = "GameFontNormalSmall" which could then be modified with font:SetTextColor etc and then put back into the button.