Package: gdk

Function gdk-window-pointer

Lambda List

gdk-window-pointer (window)

Arguments

window -- a gdk-window object

Return Value

win -- the window containing the pointer as with the function gdk-window-at-pointer, or nil if the window containing the pointer is not known to GDK
x -- an integer with the x coordinate of pointer
y -- an integer with the y coordinate of pointer
mask -- modifier mask of type gdk-modifier-type

Details

Obtains the current pointer position and modifier state. The position is given in coordinates relative to the upper left corner of window.

Warning

The gdk-window-pointer function has been deprecated since version 3.0 and should not be used in newly written code. Use the function gdk-window-device-position instead.
 

See also

2020-11-9