c_gdk_device_get_caps_lock_state

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)
int function(GdkDevice* device) c_gdk_device_get_caps_lock_state;

Meta