Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Register
m (catfix, Replaced: {{widgetmethod}} → {{widgetmethod}}<br>)
m (catfix, Replaced: {{widgetmethod}}<br> → {{widgetmethod}})
Line 1: Line 1:
{{widgetmethod}}<br>
+
{{widgetmethod}}
   
 
Button:SetTextFontObject(String)
 
Button:SetTextFontObject(String)

Revision as of 00:01, 15 July 2008

Button:SetTextFontObject(String)

Sets the Button's font to the object specified by String.


Arguments
String
The String identifying a font object

Returns

No return value.


Example
Button:SetTextFontObject("GameFontNormal")



Details

Some of the known FontStrings in the game:

  • SystemFont
  • GameFontNormal
  • GameFontNormalSmall
  • GameFontNormalLarge
  • GameFontHighlight
  • GameFontHighlightSmall
  • GameFontHighlightSmallOutline
  • GameFontHighlightLarge
  • GameFontDisable
  • GameFontDisableSmall
  • GameFontDisableLarge
  • GameFontGreen
  • GameFontGreenSmall
  • GameFontGreenLarge
  • GameFontRed
  • GameFontRedSmall
  • GameFontRedLarge
  • GameFontWhite
  • GameFontDarkGraySmall
  • NumberFontNormalYellow
  • NumberFontNormalSmallGray
  • QuestFontNormalSmall
  • DialogButtonHighlightText
  • ErrorFont
  • TextStatusBarText
  • CombatLogFont