harfang3d/doc/doc/ImGuiOpenPopup.md

9 lines
377 B
Markdown
Raw Normal View History

2021-12-15 19:23:12 +00:00
Mark a named popup as open.
Popup windows are closed when the user:
* Clicks outside of their client rect,
* Activates a pressable item,
* [ImGuiCloseCurrentPopup] is called within a [ImGuiBeginPopup]/[ImGuiEndPopup] block.
2021-10-13 12:40:31 +00:00
Popup identifiers are relative to the current ID stack so [ImGuiOpenPopup] and [ImGuiBeginPopup] need to be at the same level of the ID stack.