WoW:API Button SetText: Difference between revisions

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


  Button:SetText(String)
  Button:SetText(String)

Revision as of 21:17, 1 November 2007

Widget API ← Button < SetText

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.