Connect to StateChanged signal.
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.Keymap.getCapsLockState.
signal callback delegate or function to connect
void callback(gdk.keymap.Keymap keymap)
keymap the instance the signal is connected to (optional)
Yes.After to execute callback after default handler, No.After to execute before (default)
Signal ID
Connect to StateChanged signal.
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.Keymap.getCapsLockState.