Context Menu
#233
-
I'm trying to create a context menu. Is there an example for this? Here's what i tried:
Where |
Beta Was this translation helpful? Give feedback.
Answered by
emilk
Mar 21, 2021
Replies: 1 comment 2 replies
-
The problem here is that labels don't respond to clicks by default. You can use this: https://docs.rs/egui/0.10.0/egui/struct.Response.html#method.interact |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
emilk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem here is that labels don't respond to clicks by default. You can use this: https://docs.rs/egui/0.10.0/egui/struct.Response.html#method.interact