enum ImGui::ImGuiPopupFlags


enum ImGuiPopupFlags_

Defined in:


Enum Members

None = 0
MouseButtonLeft = 0

For BeginPopupContext*(): open on Left Mouse release. Guaranteed to always be == 0 (same as ImGuiMouseButton_Left)

MouseButtonRight = 1

For BeginPopupContext*(): open on Right Mouse release. Guaranteed to always be == 1 (same as ImGuiMouseButton_Right)

MouseButtonMiddle = 2

For BeginPopupContext*(): open on Middle Mouse release. Guaranteed to always be == 2 (same as ImGuiMouseButton_Middle)

MouseButtonMask_ = 31
MouseButtonDefault_ = 1
NoOpenOverExistingPopup = 32

For OpenPopup*(), BeginPopupContext*(): don't open if there's already a popup at the same level of the popup stack

NoOpenOverItems = 64

For BeginPopupContextWindow(): don't return true when hovering items, only when hovering empty space

AnyPopupId = 128

For IsPopupOpen(): ignore the ImGuiID parameter and test for any popup.

AnyPopupLevel = 256

For IsPopupOpen(): search/test at any level of the popup stack (default test in the current level)

AnyPopup = 384

Instance Method Summary

Instance Method Detail

def any_popup? #

[View source]
def any_popup_id? #

[View source]
def any_popup_level? #

[View source]
def mouse_button_default_? #

[View source]
def mouse_button_left? #

[View source]
def mouse_button_mask_? #

[View source]
def mouse_button_middle? #

[View source]
def mouse_button_right? #

[View source]
def no_open_over_existing_popup? #

[View source]
def no_open_over_items? #

[View source]
def none? #

[View source]