WoW:API FontInstance SetFont: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
({{widgetmethod}})
Line 1: Line 1:
{{widgetmethod}}
{{stub/api}}
Sets the font to use, returns 1 if the path was valid, nil otherwise (no change occurs)
Sets the font to use, returns 1 if the path was valid, nil otherwise (no change occurs)
<br>
<br>
<br>example: GameFontNormal:SetFont("Interface\\AddOns\\DiscordFrameModifier\\myriad.ttf",12)
<br>example: GameFontNormal:SetFont("Interface\\AddOns\\DiscordFrameModifier\\myriad.ttf",12)

Revision as of 11:54, 10 June 2006

Widget API ← FontInstance < SetFont

Template:Stub/api

Sets the font to use, returns 1 if the path was valid, nil otherwise (no change occurs)

example: GameFontNormal:SetFont("Interface\\AddOns\\DiscordFrameModifier\\myriad.ttf",12)