Lines Matching defs:Selectable

20 // [SECTION] Widgets: Selectable
1444 if (Selectable(item_text, item_selected))
4555 if (Selectable(buf))
4558 if (Selectable(buf))
4564 if (Selectable(buf))
4593 if (Selectable("##selectable", false, 0, picker_size)) // By default, Selectable() is closing popup
5014 // [SECTION] Widgets: Selectable
5016 // - Selectable()
5021 bool ImGui::Selectable(const char* label, bool selected, ImGuiSelectableFlags flags, const ImVec2& size_arg)
5112 bool ImGui::Selectable(const char* label, bool* p_selected, ImGuiSelectableFlags flags, const ImVec2& size_arg)
5114 if (Selectable(label, *p_selected, flags, size_arg))
5225 if (Selectable(item_text, item_selected))
5615 // Selectable extend their highlight by half ItemSpacing in each direction.
5621 pressed = Selectable(label, menu_is_open, ImGuiSelectableFlags_NoHoldingActiveID | ImGuiSelectableFlags_PressedOnClick | ImGuiSelectableFlags_DontClosePopups | (!enabled ? ImGuiSelectableFlags_Disabled : 0), ImVec2(w, 0.0f));
5623 window->DC.CursorPos.x += (float)(int)(style.ItemSpacing.x * (-1.0f + 0.5f)); // -1 spacing to compensate the spacing added when Selectable() did a SameLine(). It would also work to call SameLine() ourselves after the PopStyleVar().
5631 pressed = Selectable(label, menu_is_open, ImGuiSelectableFlags_NoHoldingActiveID | ImGuiSelectableFlags_PressedOnClick | ImGuiSelectableFlags_DontClosePopups | ImGuiSelectableFlags_DrawFillAvailWidth | (!enabled ? ImGuiSelectableFlags_Disabled : 0), ImVec2(w, 0.0f));
5764 pressed = Selectable(label, false, flags, ImVec2(w, 0.0f));
5766 window->DC.CursorPos.x += (float)(int)(style.ItemSpacing.x * (-1.0f + 0.5f)); // -1 spacing to compensate the spacing added when Selectable() did a SameLine(). It would also work to call SameLine() ourselves after the PopStyleVar().
5773 pressed = Selectable(label, false, flags | ImGuiSelectableFlags_DrawFillAvailWidth, ImVec2(w, 0.0f));
6283 if (Selectable(tab_name, tab_bar->SelectedTabId == tab->ID))