ImGui::Selectable with nested components
Author: kbirkCreated Nov 13, 2018Updated Sep 10, 2026
Labelslabel/id and id stack
Is there a way to get ImGui::Selectable behavior but have the component be comprised of several other nested components?
For example:
Where each ImGui::Selectable is contains an ImGui::Image and two ImGui::Text calls but acts as a single "selectable" item.
Source: ocornut/imgui