s_textAttribute
global · ui
- Address
0x8621e4· 5 bytes, up to0x8621e8- Type
char[5]- Meaning
- Holds text, the XML attribute name
- Confidence
- verified, proof one
- Finding
- ui/xmltypes#the-text-attribute
Finding: The text attribute in ui: what each widget type reads from XML
Button and FontString read text the same way. An absent or empty attribute is skipped: the
label keeps what a template or the constructor gave it. Otherwise the value names a global string:
when that global is missing, is neither a string nor a number, or is empty, the value itself is
used, so
text="Continue" with no such global shows Continue. The keyboard display's LCDText loader
reads text the same way into a stack buffer of 1,024 bytes with no bound, and stores "" for an
absent attribute.
The derivation is in the doc.