Window.getPosition
void getPosition(out int x, out int y)Obtains the position of the window as reported in the most-recently-processed #GdkEventConfigure. Contrast with [gdk.window.Window.getGeometry] which queries the X server for the current window position, regardless of which events have been received or processed.
The position coordinates are relative to the window’s parent window.
Parameters
x | X coordinate of window |
y | Y coordinate of window |