// // Generated by Brutal.ImGui.Generator; do not edit by hand. #nullable enable namespace Brutal.ImGuiApi { public partial class ImGui { public unsafe partial class PInvoke { /// /// /// create a sub-menu entry. only call EndMenu() if this returns true! /// /// /// C++: /// imgui.h:820 /// , /// imgui_widgets.cpp:9232 ///
bool BeginMenu(const char* label, bool enabled = true) ///
///
/// /// /// Widgets: Menus /// - 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. /// /// [LibraryImport("imgui")] public static unsafe partial Bool8 BeginMenu(byte* label, Bool8 enabled); } } }