pointer (as with [gdk.window.Window.atPointer]), or null if the window containing the pointer isn’t known to GDK
Window.getPointer
gdk.window.Window getPointer(out int x, out int y, out gdk.types.ModifierType mask)Obtains the current pointer position and modifier state. The position is given in coordinates relative to the upper left corner of window.
Parameters
x | return location for X coordinate of pointer or null to not return the X coordinate |
y | return location for Y coordinate of pointer or null to not return the Y coordinate |
mask | return location for modifier mask or null to not return the modifier mask |
Returns
the window containing the
Deprecated
Use [gdk.window.Window.getDevicePosition] instead.