Synced
ImGuiWidget.BeginMenuPopup
Section titled “ImGuiWidget.BeginMenuPopup”
- Begins an explicitly opened popup using the editor context-menu presentation contract. The popup stays in its parent viewport, sizes itself to submitted content, and scrolls when its work-area bound is reached.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.ImGui
Declaration
Section titled “Declaration”public bool Inno.Editor.ImGui.ImGuiWidget.ImGuiWidget.BeginMenuPopup(string id)Parameters
Section titled “Parameters”Parameter id: The stable identifier previously passed to ImGui when opening the popup.
Returns
Section titled “Returns”true when popup content should be submitted; otherwise, false.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Thrown when id is empty.