// // Generated by Brutal.ImGui.Generator; do not edit by hand. #nullable enable namespace Brutal.ImGuiApi { public partial class ImGui { public unsafe partial class PInvoke { /// /// /// append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window). /// /// /// C++: /// imgui.h:816 /// , /// imgui_widgets.cpp:8823 ///
bool BeginMenuBar() ///
///
/// /// /// 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. /// /// /// FIXME: Provided a rectangle perhaps e.g. a BeginMenuBarEx() could be used anywhere.. /// Currently the main responsibility of this function being to setup clip-rect + horizontal layout + menu navigation layer. /// Ideally we also want this to be responsible for claiming space out of the main window scrolling rectangle, in which case ImGuiWindowFlags_MenuBar will become unnecessary. /// Then later the same system could be used for multiple menu-bars, scrollbars, side-bars. /// /// [LibraryImport("imgui")] public static unsafe partial Bool8 BeginMenuBar(); } } }