WoW:API FontString GetText: Difference between revisions
({{widgetmethod}}) |
m (Move page script moved page API FontString GetText to API FontString GetText without leaving a redirect) |
||
| (4 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
{{widgetmethod}} | {{widgetmethod}} | ||
Returns the text from any [[UIOBJECT FontString|FontString]] UI object. | |||
text = | text = ''FontString'':GetText(); | ||
== Parameters == | |||
=== Arguments === | |||
:''none'' | |||
=== Returns === | |||
:;text : String - The text of the FontString. Returns nil if the FontString is an empty string. | |||
:;text : String - The text of the FontString. | |||
Latest revision as of 04:45, 15 August 2023
← Widget API ← FontString < GetText
Returns the text from any FontString UI object.
text = FontString:GetText();
Parameters
Arguments
- none
Returns
- text
- String - The text of the FontString. Returns nil if the FontString is an empty string.