ImGui::Combo dropdown and selecteditem changed events #3911
aabilityuk
announced in
Old/Archived discussions
Replies: 2 comments 2 replies
-
Every function return |
Beta Was this translation helpful? Give feedback.
1 reply
-
I was able to recieve selected item changed event this way:
But i cant find a way how to handle the dropdown event when you push the arrow, help me please to find a solution |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys, i am very new to imgui the second day of burn. Could you please help me to find out the way how to listen and handle dropdown and selecteditem changed events on ImGui::Combo???
I create combo like this:
static const char* items[]{"One","Two","three"}; static int Selecteditem = 0; ImGui::Combo("MyCombo", &Selecteditem, items, IM_ARRAYSIZE(items));
Beta Was this translation helpful? Give feedback.
All reactions