Help needed on EventControllerKey use #1972
Unanswered
philippe06150
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm stuck and need help
I try to understand EventControllerKey, so I wrote a test which works:
glib::clone! is already inserted because the next step is to add the window object, so the line is
coucou.connect_key_pressed( clone! ( #[weak] window, move |_, key, _, _| {
and then compil failed
I do not understand the mistake, if someone may explain ...
Beta Was this translation helpful? Give feedback.
All reactions