Window.getRootCoords

Obtains the position of a window position in root window coordinates. This is similar to gdk_window_get_origin() but allows you go pass in any position in the window, not just the origin. Since 2.18

class Window
void
getRootCoords
(
int x
,
int y
,
out int rootX
,
out int rootY
)

Parameters

x int

X coordinate in window

y int

Y coordinate in window

rootX int

return location for X coordinate. out

rootY int

return location for Y coordinate. out

Meta