MCPcopy Create free account
hub / github.com/Veerzeng/GraphicAlgorithm / CollapsingHeader

Method CollapsingHeader

SDK/imgui_master/imgui_widgets.cpp:4928–4935  ·  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
ImVec2Class · 0.85
ImMinFunction · 0.85
GetIDMethod · 0.80
RestoreMethod · 0.80

Tested by

no test coverage detected