get_caps_lock_state


Description:

public bool get_caps_lock_state ()

Retrieves whether the Caps Lock modifier of the keyboard is locked.

This is only relevant for keyboard devices.

Parameters:

this

a `GdkDevice`

Returns:

true if Caps Lock is on for this