Skip to main content

Arguments

ImGuiWindow
required
ImGuiWindow object returned by imgui.create. A destroyed or invalid window raises a Lua error.
string
required
Header label string passed to the rendered ImGui collapsing header.
function
required
Function invoked immediately with the same ImGuiWindow object. Return values are ignored; errors are caught by the method.

Returns

ImGuiWindow
The same ImGuiWindow object, allowing chained method calls.

Types

ImGuiWindow

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