API reference
Preparing search index…

ImGui.MenuItem

  • Display an enabled, unchecked menu action.

    Parameters

    label
    string | Uint8Array

    Widget label; interactive widgets also use it for ID generation. A ## suffix can distinguish IDs without displaying the suffix.

    Returns

    boolean

    True when the item is activated this frame; this is an activation event, not a persistent selected state.

    return true when activated.

    Implied shortcut = null, selected = false, enabled = true

    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0