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 Keymap.getCapsLockState.

class Keymap
gulong
addOnStateChanged
(
void delegate dlg
,
ConnectFlags connectFlags = cast(ConnectFlags)0
)

Meta

Since

2.16