// // Generated by Brutal.ImGui.Generator; do not edit by hand. #nullable enable namespace Brutal.ImGuiApi { public partial class ImGui { public unsafe partial class PInvoke { /// /// /// open+begin popup when clicked in void (where there are no windows). /// /// /// C++: /// imgui.h:876 /// , /// imgui.cpp:13003 ///
bool BeginPopupContextVoid(const char* str_id = NULL, ImGuiPopupFlags popup_flags = 1) ///
///
/// /// /// Popups: open+begin combined functions helpers /// - Helpers to do OpenPopup+BeginPopup where the Open action is triggered by e.g. hovering an item and right-clicking. /// - They are convenient to easily create context menus, hence the name. /// - IMPORTANT: Notice that BeginPopupContextXXX takes ImGuiPopupFlags just like OpenPopup() and unlike BeginPopup(). For full consistency, we may add ImGuiWindowFlags to the BeginPopupContextXXX functions in the future. /// - IMPORTANT: Notice that we exceptionally default their flags to 1 (== ImGuiPopupFlags_MouseButtonRight) for backward compatibility with older API taking 'int mouse_button = 1' parameter, so if you add other flags remember to re-add the ImGuiPopupFlags_MouseButtonRight. /// /// [LibraryImport("imgui")] public static unsafe partial Bool8 BeginPopupContextVoid(byte* str_id, ImGuiPopupFlags popup_flags); } } }