API reference
Preparing search index…

ImGui.BeginMenuBar

  • Begin appending to the current window menu bar.

    Returns

    boolean

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

    • Use BeginMenuBar() on a window ImGuiWindowFlags.MenuBar to append to its menu bar.

    • Use BeginMainMenuBar() to create a menu bar at the top of the screen and append to it.

    • Use BeginMenu() to create a menu. You can call BeginMenu() multiple time with the same identifier to append more items to it.

    • Not that MenuItem() keyboardshortcuts are displayed as a convenience but not processed by Dear ImGui at the moment.

    append to menu-bar of current window (requires ImGuiWindowFlags.MenuBar flag set on parent window).

    Source & inheritance

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