WoW:API Button SetText: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API Button SetText to API Button SetText without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<center>'''SetText''' ''-Documentation by DerGhulbus-''</center>
{{widgetmethod}}


  Button:SetText(String)
  Button:SetText(String)
Line 20: Line 20:


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}}

Latest revision as of 04:45, 15 August 2023

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.