You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was trying to capture the
RedrawRequestedevent, e.g.And noticed in the docs that there was only
on_winit_window_event- but no such fn forqtorlinuxkmsLooking around, I couldn't see a way to listen to windows on other backends in general.
Furthermore, there's a nice slint-specific
slint::platform::WindowEventstruct, but I didn't see a way to listen to it either.Kind of expected something like
my_window.event_handler(|win, event, ctx| { ... })or some such?So, is
on_winit_window_eventthe only way to capture events? Be onwinitand ask it?Beta Was this translation helpful? Give feedback.
All reactions