Synced
ImGuiWidget.SectionHeader
Section titled “ImGuiWidget.SectionHeader”
- Draws a section heading with hover-only description using the shared Inspector presentation.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public bool InnoEditor.ImGui.ImGuiWidget.SectionHeader(string title, string? description = null, System.Action? drawLeadingControl = null)Parameters
Section titled “Parameters”Parameter title: Section title.
Parameter description: Optional hover explanation.
Parameter drawLeadingControl: Optional interactive control drawn before the section title.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when title is null.
Returns
Section titled “Returns”true when the section content should be drawn; otherwise, false when the section is collapsed.