C4 Engine
C4 Engine API Documentation

TextWidget::GetText

Defined in:  C4Widgets.h
Returns the text stored in a text widget.
Prototype

const char *GetText(voidconst;

Description
The GetText function returns a pointer to the text stored in a text widget. The return value is never nullptr—if no text has been assigned to the widget yet, then the return value points to an empty string.
See Also

TextWidget::SetText