-
-
Notifications
You must be signed in to change notification settings - Fork 668
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "on_resize" to MainWindow #2304
Comments
This wouldn't be an However, I should caution that if you're using Toga as intended, an That said - it wouldn't be too difficult to add an |
What is the problem or limitation you are having?
I currently don't know when the window is getting resized, so I can't make adaptive decisions about how the content is being displayed unless I keep a background task continually "manually" checking. Example:
Describe the solution you'd like
An
on_change
method in MainWindow.This way, I can specify a function to be called only when the window has changed.
Describe alternatives you've considered
Additional context
No response
The text was updated successfully, but these errors were encountered: