// // Generated by Brutal.ImGui.Generator; do not edit by hand. #nullable enable namespace Brutal.ImGuiApi { public partial class ImGui { public unsafe partial class PInvoke { /// /// /// return true when activated. /// /// /// C++: /// imgui.h:822 /// , /// imgui_widgets.cpp:9332 ///
/// bool MenuItem(const char* label, const char* shortcut = NULL, bool selected = false, 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 MenuItem_0(byte* label, byte* shortcut, Bool8 selected, Bool8 enabled); /// /// /// return true when activated + toggle (*p_selected) if p_selected != NULL /// /// /// C++: /// imgui.h:823 /// , /// imgui_widgets.cpp:9337 ///
/// bool MenuItem(const char* label, const char* shortcut, bool* p_selected, 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 MenuItem_1( byte* label, byte* shortcut, Bool8* p_selected, Bool8 enabled ); } } }