signal callback delegate or function to connect
bool callback(uint keyval, uint keycode, gdk.types.ModifierType state, gtk.event_controller_key.EventControllerKey eventControllerKey)
keyval the pressed key. (optional)
keycode the raw code of the pressed key. (optional)
state the bitmask, representing the state of modifier keys and pointer buttons. (optional)
eventControllerKey the instance the signal is connected to (optional)
Returns true if the key press was handled, false otherwise.
Yes.After to execute callback after default handler, No.After to execute before (default)
Signal ID
Connect to KeyPressed signal.
Emitted whenever a key is pressed.