return location for X coordinate of pointer or NULL to not return the X coordinate. out[allow-none]
return location for Y coordinate of pointer or NULL to not return the Y coordinate. out[allow-none]
return location for modifier mask or NULL to not return the modifier mask. out[allow-none]
the window containing the pointer (as with gdk_window_at_pointer()), or NULL if the window containing the pointer isn't known to GDK. [transfer none]
Warning gdk_window_get_pointer has been deprecated since version 3.0 and should not be used in newly-written code. Use gdk_window_get_device_position() instead. Obtains the current pointer position and modifier state. The position is given in coordinates relative to the upper left corner of window.