Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Draws one context popup composed from an item interaction and its containing-scope interaction.

API: engine
Project: Inno.Editor.ImGui

public bool Inno.Editor.ImGui.EditorMenuRenderer.ContextMenu(string id, Inno.Editor.Interactions.EditorInteraction scopeInteraction, Inno.Editor.Interactions.EditorInteraction itemInteraction)

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.

true while the context popup is open and at least one command group was drawn.