// // Generated by Brutal.ImGui.Generator; do not edit by hand. #nullable enable namespace Brutal.ImGuiApi.Internal { public unsafe partial class PInvoke { /// /// /// C++: /// imgui_internal.h:3491 /// , /// imgui.cpp:12618 ///
ImGuiWindow* FindBlockingModal(ImGuiWindow* window) ///
///
/// /// /// Popups, Modals /// /// /// When a modal popup is open, newly created windows that want focus (i.e. are not popups and do not specify ImGuiWindowFlags_NoFocusOnAppearing) /// should be positioned behind that modal window, unless the window was created inside the modal begin-stack. /// In case of multiple stacked modals newly created window honors begin stack order and does not go below its own modal parent. /// - WindowA // FindBlockingModal() returns Modal1 /// - WindowB // .. returns Modal1 /// - Modal1 // .. returns Modal2 /// - WindowC // .. returns Modal2 /// - WindowD // .. returns Modal2 /// - Modal2 // .. returns Modal2 /// - WindowE // .. returns NULL /// Notes: /// - FindBlockingModal(NULL) == NULL is generally equivalent to GetTopMostPopupModal() == NULL. /// Only difference is here we check for ->Active/WasActive but it may be unnecessary. /// /// [LibraryImport("imgui")] public static unsafe partial ImGuiWindow* FindBlockingModal_internal(ImGuiWindow* window); } }