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...) |
m (Move page script moved page API Button GetNormalFontObject to API Button GetNormalFontObject without leaving a redirect) |
||
(One intermediate revision by one other user not shown) | |||
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]] |
Latest revision as of 04:45, 15 August 2023
← Widget API ← Button < GetNormalFontObject
Returns the normal font object that the button is using.
font = Button:GetNormalFontObject();
Returns[edit]
- font = "GameFontNormalSmall" which could then be modified with font:SetTextColor etc and then put back into the button.