Obtains the location of the mouse pointer in widget coordinates.
Use gdk_window_get_device_position instead.
Widget coordinates are a bit odd; for historical reasons, they are defined as this->window coordinates for widgets that return true for get_has_window; and are relative to this->allocation.x, this- >allocation.y otherwise.
| this |
a Widget |
| x |
return location for the X coordinate, or null |
| y |
return location for the Y coordinate, or null |