API reference
Preparing search index…

ImGui.BeginMenuEx

  • Display a submenu entry and begin its contents when open.

    Parameters

    label
    string | Uint8Array

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

    enabled
    boolean = true

    Whether the item or pushed option is enabled.

    Returns

    boolean

    True when this scope is open/active and its contents may be submitted. Call EndMenu() only when true; on false, skip both contents and the matching end.

    create a sub-menu entry.

    only call EndMenu() if this returns true!

    Source & inheritance

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