Synced
ImGui.MenuItem
Section titled “ImGui.MenuItem”
- Draws a menu item with explicit availability and checked state.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public static bool InnoEditor.ImGui.ImGui.MenuItem(string label, string shortcut = "", bool selected = false, bool enabled = true)Parameters
Section titled “Parameters”Parameter label: The visible label and optional stable ID suffix.
Parameter shortcut: A display label only; execution remains with the Action router.
Parameter selected: Whether the item is currently selected.
Parameter enabled: Whether the control can accept input.
Returns
Section titled “Returns”True when the documented control event or condition is present; otherwise false.