Display.getPointer

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

More...
class Display
void
getPointer
(,
out int x
,
out int y
,)

Parameters

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 GdkModifierType

location to store current modifier mask, or NULL

Detailed Description

Deprecated: Use Device.getPosition instead.

Meta