Window.getOrigin

int getOrigin(out int x, out int y)

Obtains the position of a window in root window coordinates. (Compare with [gdk.window.Window.getPosition] and [gdk.window.Window.getGeometry] which return the position of a window relative to its parent window.)

Parameters

xreturn location for X coordinate
yreturn location for Y coordinate

Returns

not meaningful, ignore