summaryrefslogtreecommitdiff
path: root/gtk/gtkwidget.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2008-12-29 06:48:44 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2008-12-29 06:48:44 +0000
commit860286c9194985947b01490ad1ffda436d787f9c (patch)
tree094ac8ff6ca35b1b45881bce58add57d26ca4488 /gtk/gtkwidget.c
parent5686375e4564dd41415049de113f2ff671cdc276 (diff)
downloadgtk+-860286c9194985947b01490ad1ffda436d787f9c.tar.gz
Doc additions
svn path=/trunk/; revision=21991
Diffstat (limited to 'gtk/gtkwidget.c')
-rw-r--r--gtk/gtkwidget.c13
1 files changed, 13 insertions, 0 deletions
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)