Struct TextBox
Defined in File GuiWidgetDescription.h
Struct Documentation
-
struct TextBox
An editable single-line text field.
initial_valuesets the displayed text at construction.on_changereceives the new string (from the GUI thread); return true to accept the edit (nanogui convention; ImGui always accepts).nanogui : nanogui::TextBox (editable, left-aligned). ImGui : ImGui::InputText with a 512-byte internal buffer; on_change fired when the buffer differs from the last committed value.