Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Draws and edits a bounded UTF-8 text value.

API: scripting
Project: Inno.Editor.ImGui
Scope: Editor

public static bool InnoEditor.ImGui.ImGui.InputText(string label, ref string value, int capacity = 1024, InnoEditor.ImGui.ImGuiInputTextFlags flags = InnoEditor.ImGui.ImGuiInputTextFlags.None)

Parameter label: The control label.

Parameter value: The managed string to display and update.

Parameter capacity: The positive maximum UTF-8 buffer capacity, including the terminator.

Parameter flags: Text editing behavior.

true when the control reports an edit or submit event.

Exception T:System.ArgumentOutOfRangeException: Thrown when capacity is not positive.