diff options
author | Matthias Clasen <mclasen@redhat.com> | 2009-12-20 03:04:52 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2009-12-20 03:11:05 -0500 |
commit | c59f76fda2560273d7ee3255db9b697a7077ac38 (patch) | |
tree | 49c8796ebfd5eea5a25edf4d52cd6190722e87b9 /gtk/gtklabel.h | |
parent | af268d5b072b062fbc0325fe31e441e38700a21c (diff) | |
download | gtk+-c59f76fda2560273d7ee3255db9b697a7077ac38.tar.gz |
Only show the mnemonic underline when pressing Alt
...and show them in menus when navigating the menu with the keyboard.
This is similar to what other platforms do, and reduces visual clutter.
There is a setting to control this. Most of the work on this patch was
done by Thomas Wood. See bug 588554.
Diffstat (limited to 'gtk/gtklabel.h')
-rw-r--r-- | gtk/gtklabel.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtklabel.h b/gtk/gtklabel.h index d44b142fad..88a9db7ddf 100644 --- a/gtk/gtklabel.h +++ b/gtk/gtklabel.h @@ -197,6 +197,11 @@ guint gtk_label_parse_uline (GtkLabel *label, #endif /* GTK_DISABLE_DEPRECATED */ +/* private */ + +void _gtk_label_mnemonics_visible_apply_recursively (GtkWidget *widget, + gboolean mnemonics_visible); + G_END_DECLS #endif /* __GTK_LABEL_H__ */ |