Synced
EditorMenuRenderer.ContextMenu
Section titled “EditorMenuRenderer.ContextMenu”
- Draws one context popup composed from an item interaction and its containing-scope interaction.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.ImGui
Declaration
Section titled “Declaration”public bool Inno.Editor.ImGui.EditorMenuRenderer.ContextMenu(string id, Inno.Editor.Interactions.EditorInteraction scopeInteraction, Inno.Editor.Interactions.EditorInteraction itemInteraction)Parameters
Section titled “Parameters”Parameter id: Stable popup identifier in the current ImGui ID scope.
Parameter scopeInteraction: Container interaction whose commands are shown first, such as creation commands for a directory.
Parameter itemInteraction: Selected-item interaction whose commands are shown after the container commands.
Returns
Section titled “Returns”true while the context popup is open and at least one command group was drawn.