WoW:API Button SetText: 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 DerGhulbus-''</center>
<center>'''SetText''' ''-Documentation by DerGhulbus-''</center>


Line 20: Line 22:


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

Revision as of 10:56, 10 June 2006

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.