Skip to main content
Appends a collapsing header start marker, immediately calls the content callback with the same ImGuiWindow object so it can append nested elements, then appends a header end marker. During rendering, nested elements are skipped while the header is collapsed. Callback errors are caught and not returned by this method.

Syntax

Arguments

Returns

Types

ImGuiWindow

Handle returned by imgui.create. Control-building methods return the same handle so calls can be chained.