Expose window events in Native mode #2277
gavinpotter
started this conversation in
Ideas / Feature Requests
Replies: 2 comments
-
Thanks for the suggestion, @gavinpotter! I think it would be possible. But it's not trivial:
We could certainly use some help implementing this feature. Would you - or anyone else - like to create a pull request? 🙂 |
Beta Was this translation helpful? Give feedback.
0 replies
-
That does sound complicated - beyond what I could manage. I'll look for an alternative. The approach I'm going to take is to see what else changes when each event occurs - and act on that. So if, for instance, you maximise a minimised window, the size of the window increases etc which you can capture. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
"In native mode the app.native.main_window object allows you to access the underlying window. It is an async version of Window from pywebview".
Would it be possible to expose the events associated with the pywebview window. My use case is that I want to be able to take various actions when the native window is minimised and restored.
Thanks
Gavin
Beta Was this translation helpful? Give feedback.
All reactions