[ Version ( since = "2.18" ) ]
public void get_root_coords (int x, int y, out int root_x, out int root_y)
Obtains the position of a window position in root window coordinates.
This is similar to get_origin but allows you to pass in any position in the window, not just the origin.
this |
a Window |
x |
X coordinate in window |
y |
Y coordinate in window |
root_x |
return location for X coordinate |
root_y |
return location for Y coordinate |