alias ImGui::TopLevel::ImGuiPopupFlags

Alias Definition

ImGui::ImGuiPopupFlags

Defined in:

types.cr

Constant Summary

AnyPopup = 384
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)

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 = 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