summaryrefslogtreecommitdiff
path: root/gtk/gtkwindow.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2009-12-20 03:04:52 -0500
committerMatthias Clasen <mclasen@redhat.com>2009-12-20 03:11:05 -0500
commitc59f76fda2560273d7ee3255db9b697a7077ac38 (patch)
tree49c8796ebfd5eea5a25edf4d52cd6190722e87b9 /gtk/gtkwindow.h
parentaf268d5b072b062fbc0325fe31e441e38700a21c (diff)
downloadgtk+-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/gtkwindow.h')
-rw-r--r--gtk/gtkwindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkwindow.h b/gtk/gtkwindow.h
index dc59dfe08a..1b4362feaa 100644
--- a/gtk/gtkwindow.h
+++ b/gtk/gtkwindow.h
@@ -230,6 +230,9 @@ gboolean gtk_window_get_focus_on_map (GtkWindow *window);
void gtk_window_set_destroy_with_parent (GtkWindow *window,
gboolean setting);
gboolean gtk_window_get_destroy_with_parent (GtkWindow *window);
+void gtk_window_set_mnemonics_visible (GtkWindow *window,
+ gboolean setting);
+gboolean gtk_window_get_mnemonics_visible (GtkWindow *window);
void gtk_window_set_resizable (GtkWindow *window,
gboolean resizable);