![](gtk-logo.svg)

###  [ Gtk ](index.html)

API Version: 3.0

Library Version: 3.24

#####  Type

[ Widget ](class.Widget.html)

#####  Signals

[ accel-closures-changed ](signal.Widget.accel-closures-changed.html) [
button-press-event ](signal.Widget.button-press-event.html) [ button-release-
event ](signal.Widget.button-release-event.html) [ can-activate-accel
](signal.Widget.can-activate-accel.html) [ child-notify ](signal.Widget.child-
notify.html) [ composited-changed ](signal.Widget.composited-changed.html) [
configure-event ](signal.Widget.configure-event.html) [ damage-event
](signal.Widget.damage-event.html) [ delete-event ](signal.Widget.delete-
event.html) [ destroy ](signal.Widget.destroy.html) [ destroy-event
](signal.Widget.destroy-event.html) [ direction-changed
](signal.Widget.direction-changed.html) [ drag-begin ](signal.Widget.drag-
begin.html) [ drag-data-delete ](signal.Widget.drag-data-delete.html) [ drag-
data-get ](signal.Widget.drag-data-get.html) [ drag-data-received
](signal.Widget.drag-data-received.html) [ drag-drop ](signal.Widget.drag-
drop.html) [ drag-end ](signal.Widget.drag-end.html) [ drag-failed
](signal.Widget.drag-failed.html) [ drag-leave ](signal.Widget.drag-
leave.html) [ drag-motion ](signal.Widget.drag-motion.html) [ draw
](signal.Widget.draw.html) [ enter-notify-event ](signal.Widget.enter-notify-
event.html) [ event ](signal.Widget.event.html) [ event-after
](signal.Widget.event-after.html) [ focus ](signal.Widget.focus.html) [ focus-
in-event ](signal.Widget.focus-in-event.html) [ focus-out-event
](signal.Widget.focus-out-event.html) [ grab-broken-event
](signal.Widget.grab-broken-event.html) [ grab-focus ](signal.Widget.grab-
focus.html) [ grab-notify ](signal.Widget.grab-notify.html) [ hide
](signal.Widget.hide.html) [ hierarchy-changed ](signal.Widget.hierarchy-
changed.html) [ key-press-event ](signal.Widget.key-press-event.html) [ key-
release-event ](signal.Widget.key-release-event.html) [ keynav-failed
](signal.Widget.keynav-failed.html) [ leave-notify-event
](signal.Widget.leave-notify-event.html) [ map ](signal.Widget.map.html) [
map-event ](signal.Widget.map-event.html) [ mnemonic-activate
](signal.Widget.mnemonic-activate.html) [ motion-notify-event
](signal.Widget.motion-notify-event.html) [ move-focus ](signal.Widget.move-
focus.html) [ parent-set ](signal.Widget.parent-set.html) [ popup-menu
](signal.Widget.popup-menu.html) [ property-notify-event
](signal.Widget.property-notify-event.html) [ proximity-in-event
](signal.Widget.proximity-in-event.html) [ proximity-out-event
](signal.Widget.proximity-out-event.html) [ query-tooltip
](signal.Widget.query-tooltip.html) [ realize ](signal.Widget.realize.html) [
screen-changed ](signal.Widget.screen-changed.html) [ scroll-event
](signal.Widget.scroll-event.html) [ selection-clear-event
](signal.Widget.selection-clear-event.html) [ selection-get
](signal.Widget.selection-get.html) [ selection-notify-event
](signal.Widget.selection-notify-event.html) [ selection-received
](signal.Widget.selection-received.html) [ selection-request-event
](signal.Widget.selection-request-event.html) [ show
](signal.Widget.show.html) [ show-help ](signal.Widget.show-help.html) [ size-
allocate ](signal.Widget.size-allocate.html) [ state-changed
](signal.Widget.state-changed.html) [ state-flags-changed
](signal.Widget.state-flags-changed.html) [ style-set ](signal.Widget.style-
set.html) [ style-updated ](signal.Widget.style-updated.html) [ touch-event
](signal.Widget.touch-event.html) [ unmap ](signal.Widget.unmap.html) [ unmap-
event ](signal.Widget.unmap-event.html) [ unrealize
](signal.Widget.unrealize.html) [ visibility-notify-event
](signal.Widget.visibility-notify-event.html) [ window-state-event
](signal.Widget.window-state-event.html)

Generated by [ gi-docgen ](https://gitlab.gnome.org/GNOME/gi-docgen) 2023.4

###  Signal

#  [ Gtk ](index.html) [ Widget ](class.Widget.html) ::key-press-event

####  Declaration

    
    
    gboolean