signal callback delegate or function to connect
bool callback(gdk.event_key.EventKey event, gtk.widget.Widget widget)
event the #GdkEventKey which triggered this signal. (optional)
widget the instance the signal is connected to (optional)
Returns true to stop other handlers from being invoked for the event. false to propagate the event further.
Yes.After to execute callback after default handler, No.After to execute before (default)
Signal ID
Connect to KeyPressEvent signal.
The ::key-press-event signal is emitted when a key is pressed. The signal emission will reoccur at the key-repeat rate when the key is kept pressed.
To receive this signal, the #GdkWindow associated to the widget needs to enable the #GDK_KEY_PRESS_MASK mask.
This signal will be sent to the grab widget if there is one.