Widget API: Button:SetText

Revision as of 10:56, 10 June 2006 by WoWWiki>Mikk ({{widgetmethod}})

Widget API ← Button < SetText

SetText -Documentation by DerGhulbus-
Button:SetText(String)

Sets the Button's text to the specified string.


Arguments
String
String
The text that will be written on the Button

Returns

???


Details

Note that the Text of a Button cannot be changed directly, since it's an attribute. Use this function instead.