Widget API: Button:SetText

From AddOn Studio
Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API Button SetText to API Button SetText without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.