Synced
ImGuiWidget.InlineRename
Section titled “ImGuiWidget.InlineRename”
- Draws a compact single-line rename editor inside an existing row.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.ImGui
Declaration
Section titled “Declaration”public Inno.Editor.ImGui.ImGuiWidget.InlineRenameResult Inno.Editor.ImGui.ImGuiWidget.ImGuiWidget.InlineRename(string id, ref string text, ref bool requestFocus, float rowHeight, nuint capacity = 512, float width = -1)Parameters
Section titled “Parameters”Parameter id: The stable control identifier.
Parameter text: The mutable text buffer.
Parameter requestFocus: Whether keyboard focus and complete-value selection should be requested. The value remains true until the input becomes active and its current contents are selected.
Parameter rowHeight: The height of the row area in which the field is centered.
Parameter capacity: The maximum UTF-8 buffer capacity.
Parameter width: The control width, or a negative value to fill the available space.
Returns
Section titled “Returns”The current rename outcome.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Thrown when id is empty.
Exception T:System.ArgumentOutOfRangeException: Thrown when rowHeight is not finite or is not positive.