// // Generated by Brutal.ImGui.Generator; do not edit by hand. #nullable enable namespace Brutal.ImGuiApi { public partial class ImGui { public unsafe partial class PInvoke { /// /// /// C++: /// imgui.h:668 /// , /// imgui_widgets.cpp:2179 ///
/// bool Combo(const char* label, int* current_item, const char* const items[], int items_count, int popup_max_height_in_items = -1) ///
///
/// /// /// Widgets: Combo Box (Dropdown) /// - The BeginCombo()/EndCombo() api allows you to manage your contents and selection state however you want it, by creating e.g. Selectable() items. /// - The old Combo() api are helpers over BeginCombo()/EndCombo() which are kept available for convenience purpose. This is analogous to how ListBox are created. /// /// /// Combo box helper allowing to pass an array of strings. /// /// [LibraryImport("imgui")] public static unsafe partial Bool8 Combo_0( byte* label, int* current_item, byte** items, int items_count, int popup_max_height_in_items ); /// /// /// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0" /// /// /// C++: /// imgui.h:669 /// , /// imgui_widgets.cpp:2186 ///
/// bool Combo(const char* label, int* current_item, const char* items_separated_by_zeros, int popup_max_height_in_items = -1) ///
///
/// /// /// Widgets: Combo Box (Dropdown) /// - The BeginCombo()/EndCombo() api allows you to manage your contents and selection state however you want it, by creating e.g. Selectable() items. /// - The old Combo() api are helpers over BeginCombo()/EndCombo() which are kept available for convenience purpose. This is analogous to how ListBox are created. /// /// /// Combo box helper allowing to pass all items in a single string literal holding multiple /// zero-terminated items "item1\0item2\0" /// /// [LibraryImport("imgui")] public static unsafe partial Bool8 Combo_1( byte* label, int* current_item, byte* items_separated_by_zeros, int popup_max_height_in_items ); /// /// /// C++: /// imgui.h:670 /// , /// imgui_widgets.cpp:2131 ///
/// bool Combo(const char* label, int* current_item, const char* (*getter)(void* user_data, int idx), void* user_data, int items_count, int popup_max_height_in_items = -1) ///
///
/// /// /// Widgets: Combo Box (Dropdown) /// - The BeginCombo()/EndCombo() api allows you to manage your contents and selection state however you want it, by creating e.g. Selectable() items. /// - The old Combo() api are helpers over BeginCombo()/EndCombo() which are kept available for convenience purpose. This is analogous to how ListBox are created. /// /// /// Old API, prefer using BeginCombo() nowadays if you can. /// /// [LibraryImport("imgui")] public static unsafe partial Bool8 Combo_2( byte* label, int* current_item, nint getter, void* user_data, int items_count, int popup_max_height_in_items ); } } }