location to store the screen that the cursor is on, or null.
location to store root window X coordinate of pointer, or null.
location to store root window Y coordinate of pointer, or null.
location to store current modifier mask, or null
Deprecated: Use gdk.device.Device.getPosition instead.
Gets the current location of the pointer and the current modifier mask for a given display.