API reference
Preparing search index…

ImGui.BeginMenu

  • Display an enabled 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.

    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!

    Implied enabled = true

    Source & inheritance

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