Window.getPointer

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

More...
class Window
getPointer
(
out int x
,
out int y
,)

Parameters

x int

return location for X coordinate of pointer or %NULL to not return the X coordinate

y int

return location for Y coordinate of pointer or %NULL to not return the Y coordinate

mask GdkModifierType

return location for modifier mask or %NULL to not return the modifier mask

Return Value

Type: Window

the window containing the pointer (as with gdk_window_at_pointer()), or %NULL if the window containing the pointer isn’t known to GDK

Detailed Description

Deprecated: Use gdk_window_get_device_position() instead.

Meta