// // Generated by Brutal.ImGui.Generator; do not edit by hand. #nullable enable namespace Brutal.ImGuiApi { public partial class ImGui { public unsafe partial class PInvoke { /// /// /// "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so /// you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. /// size.y==0.0: use label height, size.y>0.0: specify height /// /// /// C++: /// imgui.h:770 /// , /// imgui_widgets.cpp:7126 ///
/// bool Selectable(const char* label, bool selected = false, ImGuiSelectableFlags flags = 0, const ImVec2& size = ImVec2(0, 0)) ///
///
/// /// /// Widgets: Selectables /// - A selectable highlights when hovered, and can display another color when selected. /// - Neighbors selectable extend their highlight bounds in order to leave no gap between them. This is so a series of selected Selectable appear contiguous. /// /// /// Tip: pass a non-visible label (e.g. "##hello") then you can use the space to draw other text or image. /// But you need to make sure the ID is unique, e.g. enclose calls in PushID/PopID or use ##unique_id. /// With this scheme, ImGuiSelectableFlags_SpanAllColumns and ImGuiSelectableFlags_AllowOverlap are also frequently used flags. /// FIXME: Selectable() with (size.x == 0.0f) and (SelectableTextAlign.x > 0.0f) followed by SameLine() is currently not supported. /// /// [LibraryImport("imgui")] public static unsafe partial Bool8 Selectable_0( byte* label, Bool8 selected, ImGuiSelectableFlags flags, float2* size ); /// /// /// "bool* p_selected" point to the selection state (read-write), as a convenient helper. /// /// /// C++: /// imgui.h:771 /// , /// imgui_widgets.cpp:7307 ///
/// bool Selectable(const char* label, bool* p_selected, ImGuiSelectableFlags flags = 0, const ImVec2& size = ImVec2(0, 0)) ///
///
/// /// /// Widgets: Selectables /// - A selectable highlights when hovered, and can display another color when selected. /// - Neighbors selectable extend their highlight bounds in order to leave no gap between them. This is so a series of selected Selectable appear contiguous. /// /// [LibraryImport("imgui")] public static unsafe partial Bool8 Selectable_1( byte* label, Bool8* p_selected, ImGuiSelectableFlags flags, float2* size ); } } }