API reference
Preparing search index…

ImGui.IsPopupOpen

  • Test whether a popup is open.

    Parameters

    str_id
    string | Uint8Array

    String identifier hashed with the current ID stack to distinguish this item or scope.

    flags
    number = 0

    ImGuiPopupFlags options controlling this operation; combine compatible flag bits with |.

    Returns

    boolean

    True if a popup matching the ID and query flags is open in the current popup scope; false otherwise.

    • IsPopupOpen(): return true if the popup is open at the current BeginPopup() level of the popup stack.

    • IsPopupOpen() with ImGuiPopupFlags.AnyPopupId: return true if any popup is open at the current BeginPopup() level of the popup stack.

    • IsPopupOpen() with ImGuiPopupFlags.AnyPopupId + ImGuiPopupFlags.AnyPopupLevel: return true if any popup is open.

    return true if the popup is open.

    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0