c_gdk_window_get_device_events

Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
__gshared extern (C)
GdkEventMask function(GdkWindow* window, GdkDevice* device) c_gdk_window_get_device_events;

Meta