GGUI::TextFieldProps struct

Properties of ui.TextField: one line of editable text.

Public variables

std::string_view Placeholder
shown dimmed while empty; localised
GGSize Width
its width
uint32_t MaxLength
code points; 0 = unlimited
TextAccepts Accepts
filter for typed and pasted text
bool bPassword
drawn as dots; copy is disabled
bool bReadOnly
selectable and copyable, not editable
bool bDisabled
shown disabled; takes no input
std::string_view Class
text is <class>-text, placeholder <class>-placeholder