WoW:API Button SetTextFontObject: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
({{widgetmethod}})
Line 1: Line 1:
{{widgetmethod}}
<center>'''SetText''' ''-Documentation by Zillia-''</center>
<center>'''SetText''' ''-Documentation by Zillia-''</center>


Line 51: Line 53:
* TextStatusBarText  
* TextStatusBarText  
* CombatLogFont
* CombatLogFont
----
{{WoW API}}

Revision as of 10:57, 10 June 2006

Widget API ← Button < SetTextFontObject

SetText -Documentation by Zillia-
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