diff options
author | Stefan Kost <ensonic@users.sf.net> | 2011-01-31 23:07:34 +0200 |
---|---|---|
committer | Stefan Kost <ensonic@users.sf.net> | 2011-01-31 23:10:10 +0200 |
commit | 1f3a5a8d92927ce9ce22bc8dcd8fe990e6f8431f (patch) | |
tree | e367fab80f265c53a1e5792981cd554129ded882 /gtk/gtkwidget.c | |
parent | a37976dae05b6a7833b77025568848f329d67af8 (diff) | |
download | gtk+-1f3a5a8d92927ce9ce22bc8dcd8fe990e6f8431f.tar.gz |
Clarify key-{press,release}-event docs.
Mention key-repeat in key-press and fix a copy'n'paste in key-release docs.
Diffstat (limited to 'gtk/gtkwidget.c')
-rw-r--r-- | gtk/gtkwidget.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index eb443211c7..a434b429e7 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -1966,7 +1966,8 @@ gtk_widget_class_init (GtkWidgetClass *klass) * @widget: the object which received the signal * @event: (type Gdk.EventKey): the #GdkEventKey which triggered this signal. * - * The ::key-press-event signal is emitted when a key is pressed. + * 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. @@ -1991,7 +1992,7 @@ gtk_widget_class_init (GtkWidgetClass *klass) * @widget: the object which received the signal * @event: (type Gdk.EventKey): the #GdkEventKey which triggered this signal. * - * The ::key-release-event signal is emitted when a key is pressed. + * The ::key-release-event signal is emitted when a key is released. * * To receive this signal, the #GdkWindow associated to the widget needs * to enable the #GDK_KEY_RELEASE_MASK mask. |