Display.getPointer

Gets the current location of the pointer and the current modifier mask for a given display.

More...
class Display
void
getPointer

Parameters

screen gdk.screen.Screen

location to store the screen that the cursor is on, or null.

x int

location to store root window X coordinate of pointer, or null.

y int

location to store root window Y coordinate of pointer, or null.

mask gdk.types.ModifierType

location to store current modifier mask, or null

Detailed Description

Deprecated: Use gdk.device.Device.getPosition instead.