RGtk2 (version 2.20.31)

gdkDisplayGetPointer: gdkDisplayGetPointer

Description

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

Usage

gdkDisplayGetPointer(object)

Arguments

object

Value

A list containing the following elements:
screen
location to store the screen that the cursor is on, or NULL. [ allow-none ]
x
(out): location to store root window X coordinate of pointer, or NULL. [ allow-none ]
y
(out): location to store root window Y coordinate of pointer, or NULL. [ allow-none ]
mask
(out): location to store current modifier mask, or NULL. [ allow-none ]

Details

Since 2.2