GdkPointerHooks

A table of pointers to functions for getting quantities related to the current pointer position. GDK has one global table of this type, which can be set using gdk_set_pointer_hooks(). This is only useful for such low-level tools as an event recorder. Applications should never have any reason to use this facility get_pointer () Obtains the current pointer position and modifier state. The position is given in coordinates relative to the window containing the pointer, which is returned in window. window_at_pointer () Obtains the window underneath the mouse pointer, returning the location of that window in win_x, win_y. Returns NULL if the window under the mouse pointer is not known to GDK (for example, belongs to another application).

Members

Variables

getPointer
GdkWindow* function(GdkWindow* window, int* x, int* y, GdkModifierType* mask) getPointer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
windowAtPointer
GdkWindow* function(GdkScreen* screen, int* winX, int* winY) windowAtPointer;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta