diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-03-14 19:37:11 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-03-14 19:47:06 -0400 |
commit | cfc91b62b0d508ad1b763e76f81c260b20376172 (patch) | |
tree | a3c1643bbe56fb032dfe12ff21b3a777a456bcd2 /gtk/gtkwindow.h | |
parent | 24ec2cc6a67bba6b2898c9a55d554dae76c5bc76 (diff) | |
download | gtk+-cfc91b62b0d508ad1b763e76f81c260b20376172.tar.gz |
window: Add a way to disable F10 shortcut
This is needed for terminal emulators.
Fixes: #3727
Diffstat (limited to 'gtk/gtkwindow.h')
-rw-r--r-- | gtk/gtkwindow.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkwindow.h b/gtk/gtkwindow.h index 347eee2312..a7e9a5bc4f 100644 --- a/gtk/gtkwindow.h +++ b/gtk/gtkwindow.h @@ -251,6 +251,12 @@ void gtk_window_destroy (GtkWindow *window); GDK_AVAILABLE_IN_ALL void gtk_window_set_interactive_debugging (gboolean enable); +GDK_AVAILABLE_IN_4_2 +void gtk_window_set_handle_menubar_accel (GtkWindow *window, + gboolean handle_menubar_accel); +GDK_AVAILABLE_IN_4_2 +gboolean gtk_window_get_handle_menubar_accel (GtkWindow *window); + G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkWindow, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkWindowGroup, g_object_unref) |