Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Ensures that subsequently drawn default properties belong to a framed section.

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

public bool InnoEditor.ImGui.ImGuiWidget.EnsureSection(string title = "Properties", string? description = null)

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.

true when the current section accepts content; otherwise, false when that section is collapsed.

Exception T:System.ArgumentNullException: Thrown when title is null.