Window drag area #4710
Window drag area
#4710
-
Duplicate Check
Describe the requested featureCan I have an on_update event in window drag area? i want to know how much user dragged the window on that basis. i wanted the window to go back to its default position Suggest a solutionNo response ScreenshotsNo response Additional detailsNo response |
Beta Was this translation helpful? Give feedback.
Answered by
ndonkoHenri
Jan 13, 2025
Replies: 1 comment 1 reply
-
To listen to window events, you can use |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
SKD8
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To listen to window events, you can use
Page.window.on_event
and when the right type is triggered (ex: "MOVED"), you can get the window's new position usingpage.window.top
andpage.window.left
and can also set it to your 'default' position.