Catching window move event #246
-
Hello, is there a way to detect when a window was moved ? And how to move it programatically. Thanks for the help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
In Linux, you can call Related documents:
In the original design, the position and size of the widget will be synchronized to the surface it is bound to, but there is a problem that the window cannot move smoothly, so I cancel the position synchronization. Can you tell me why you need to capture window move event? |
Beta Was this translation helpful? Give feedback.
In Linux, you can call
LCUI_BindSysEvent()
function to listen for theConfigureNotify
event, which contains the location and size of the window.Related documents:
In the original design, the position and size of the widget will be synchronized to the surface it is bound to, but there is a problem that the window cannot move smoothly, so I cancel the position synchronization.
Can you tell me why you need to capture window move event?