MCPcopy Create free account
hub / github.com/Aegel5/SimpleSwitcher / BeginPopupContextWindow

Method BeginPopupContextWindow

imgui_tiny_app/imgui/imgui.cpp:13283–13293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13281}
13282
13283bool ImGui::BeginPopupContextWindow(const char* str_id, ImGuiPopupFlags popup_flags)
13284{
13285 ImGuiContext& g = *GImGui;
13286 ImGuiWindow* window = g.CurrentWindow;
13287 if (!str_id)
13288 str_id = "window_context";
13289 ImGuiID id = window->GetID(str_id);
13290 if (IsPopupOpenRequestForWindow(popup_flags))
13291 OpenPopupEx(id, popup_flags);
13292 return BeginPopupEx(id, ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoSavedSettings);
13293}
13294
13295bool ImGui::BeginPopupContextVoid(const char* str_id, ImGuiPopupFlags popup_flags)
13296{

Callers

nothing calls this directly

Calls 1

GetIDMethod · 0.80

Tested by

no test coverage detected