Keymap.addOnStateChanged

The ::state-changed signal is emitted when the state of the keyboard changes, e.g when Caps Lock is turned on or off. See gdk_keymap_get_caps_lock_state().

class Keymap
void
addOnStateChanged
(
void delegate dlg
,)

Meta

Since

2.16