alias ImGui::TopLevel::ImGuiPopupFlags

Alias Definition

ImGui::ImGuiPopupFlags

Defined in:

types.cr

Constant Summary

All = 3519
AnyPopup = 3072
AnyPopupId = 1024

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

AnyPopupLevel = 2048

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

MouseButtonDefault_ = 1
MouseButtonLeft = 0

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

MouseButtonMask_ = 31
MouseButtonMiddle = 2

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

MouseButtonRight = 1

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

None = 0
NoOpenOverExistingPopup = 128

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

NoOpenOverItems = 256

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

NoReopen = 32

For OpenPopup*(), BeginPopupContext*(): don't reopen same popup if already open (won't reposition, won't reinitialize navigation)