-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detect when Combo() opened #7739
Comments
If you can rework your call to If you want to keep using the more compact |
It's also worth explaining why you need this, as this might be a XY Problem question. |
I need this since im using the Combo to choose a file in a folder and I want to update the list when the Combo is opened. |
Can you give me an example? |
Then you should use |
As I said, you can look at the implementation of As Omar hinted at, you can use |
Doesnt it need a parameter? Or where should I put it? Before or after the Combo is created |
Alr thanks, I will try this |
Version/Branch of Dear ImGui:
Version 1.90
Back-ends:
n/a
Compiler, OS:
Windows 11 + MSVC 2022
Full config/build information:
No response
Details:
How can I detect when a Combo() is opened?
Hello, by opened I mean when its clicked and its items are shown.
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
The text was updated successfully, but these errors were encountered: