MCPcopy Create free account
hub / github.com/SatDump/SatDump / TreeNodeSetOpen

Method TreeNodeSetOpen

src-core/imgui/imgui_widgets.cpp:6094–6099  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6092}
6093
6094void ImGui::TreeNodeSetOpen(ImGuiID id, bool open)
6095{
6096 ImGuiContext& g = *GImGui;
6097 ImGuiStorage* storage = g.CurrentWindow->DC.StateStorage;
6098 storage->SetInt(id, open ? 1 : 0);
6099}
6100
6101bool ImGui::TreeNodeUpdateNextOpen(ImGuiID id, ImGuiTreeNodeFlags flags)
6102{

Callers

nothing calls this directly

Calls 1

SetIntMethod · 0.80

Tested by

no test coverage detected