Synced
ImGui.InputTextWithHint
Section titled “ImGui.InputTextWithHint”
- Draws and edits a bounded UTF-8 text value with placeholder text.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public static bool InnoEditor.ImGui.ImGui.InputTextWithHint(string label, string hint, ref string value, int capacity = 1024, InnoEditor.ImGui.ImGuiInputTextFlags flags = InnoEditor.ImGui.ImGuiInputTextFlags.None)Parameters
Section titled “Parameters”Parameter label: The control label.
Parameter hint: The placeholder shown while the value is empty.
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.
Returns
Section titled “Returns”true when the control reports an edit or submit event.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentOutOfRangeException: Thrown when capacity is not positive.