WoW:API FontString GetText: Difference between revisions
No edit summary |
m (Move page script moved page API FontString GetText to API FontString GetText without leaving a redirect) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 3: | Line 3: | ||
Returns the text from any [[UIOBJECT FontString|FontString]] UI object. | Returns the text from any [[UIOBJECT FontString|FontString]] UI object. | ||
text = | text = ''FontString'':GetText(); | ||
== Parameters == | == Parameters == | ||
=== Arguments === | === Arguments === | ||
: | :''none'' | ||
=== Returns === | === Returns === | ||
:;text : String - The text of the FontString. | :;text : String - The text of the FontString. Returns nil if the FontString is an empty string. | ||
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.