diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | gtk/gtkwidget.c | 13 |
2 files changed, 17 insertions, 0 deletions
@@ -1,5 +1,9 @@ 2008-12-28 Matthias Clasen <mclasen@redhat.com> + * gtk/gtkwidget.c: Document gtk_mnemonic_activate. + +2008-12-28 Matthias Clasen <mclasen@redhat.com> + * gtk/gtktextlayout.c: Un-doc-commentize non-public api 2008-12-28 Matthias Clasen <mclasen@redhat.com> diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index ff02b79a2c..c451af390e 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -4434,6 +4434,19 @@ _gtk_widget_get_accel_path (GtkWidget *widget, return apath ? g_quark_to_string (apath->path_quark) : NULL; } +/** + * gtk_widget_mnemonic_activate: + * @widget: a #GtkWidget + * @group_cycling: %TRUE if there are other widgets with the same mnemonic + * + * Emits the #GtkWidget::mnemonic-activate signal. + * + * The default handler for this signal activates the @widget if + * @group_cycling is %FALSE, and just grabs the focus if @group_cycling + * is %TRUE. + * + * Returns: %TRUE if the signal has been handled + */ gboolean gtk_widget_mnemonic_activate (GtkWidget *widget, gboolean group_cycling) |