Synced
ImGuiWidget.EnsureSection
Section titled “ImGuiWidget.EnsureSection”
- Ensures that subsequently drawn default properties belong to a framed section.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public bool InnoEditor.ImGui.ImGuiWidget.EnsureSection(string title = "Properties", string? description = null)Parameters
Section titled “Parameters”Parameter title: Title used only when the current section layout has not declared a section yet.
Parameter description: Optional hover explanation for the implicit section title.
Returns
Section titled “Returns”true when the current section accepts content; otherwise, false when that section is collapsed.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when title is null.