MCPcopy Create free account
hub / github.com/Raikiri/LegitEngine / CollapsingHeader

Method CollapsingHeader

dependencies/imgui/imgui_widgets.cpp:5365–5372  ·  view source on GitHub ↗

CollapsingHeader returns true when opened but do not indent nor push into the ID stack (because of the ImGuiTreeNodeFlags_NoTreePushOnOpen flag). This is basically the same as calling TreeNodeEx(label, ImGuiTreeNodeFlags_CollapsingHeader). You can remove the _NoTreePushOnOpen flag if you want behavior closer to normal TreeNode().

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

GetCurrentWindowFunction · 0.85
ImMaxFunction · 0.85
ImVec2Class · 0.85
GetIDMethod · 0.80
RestoreMethod · 0.80

Tested by

no test coverage detected