Window.getPosition

Obtains the position of the window as reported in the most-recently-processed #GdkEventConfigure. Contrast with gdk_window_get_geometry() 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.

class Window
void
getPosition
(
out int x
,
out int y
)

Parameters

x int

X coordinate of window

y int

Y coordinate of window

Meta