Closed qarmin closed 3 years ago
Here what I suggest: please open a PR with your code (targetting the pending
branch if you're using the github version) so I can take a look. So I can help you and in addition, once done, we can merge it so there will be an example for this case.
Do you enable the v3_22
feature on your gtk
dependency in Cargo.toml
?
https://gtk-rs.org/docs/gtk/trait.PopoverExt.html#tymethod.popup exists in any case (if you enable that feature), and should be usable. If it isn't, please provide a full testcase like @GuillaumeGomez wrote :)
I completely forgot about enabling gtk v3_24
in my project(I had v3_18
).
I had installed on Ubuntu 20.04 gtk 3.24 so I wrongly assumed that everything should works fine.
I tried to use PopoverMenu with same functions like in this video - https://www.youtube.com/watch?v=6hE62eXNKU4 But this code(which seems to work )
this error