diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-11-16 01:50:39 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-11-16 01:50:39 -0500 |
commit | 2863bb287cdd654c2d7f3e2f645c16cdea89b900 (patch) | |
tree | bb5c75bc79b529588caafc039b6d49205fe38aa2 /gtk/gtkheaderbar.h | |
parent | cadef51b3dd2240dd98a5ad3f8d0990dc22b7670 (diff) | |
download | gtk+-2863bb287cdd654c2d7f3e2f645c16cdea89b900.tar.gz |
GtkHeaderBar: Add a fallback app menu implementation
Allow showing the fallback app menu with a menu button
in the header bar. Applications have to explicitly enable
this by calling gtk_header_bar_set_show_fallback_app_menu.
Diffstat (limited to 'gtk/gtkheaderbar.h')
-rw-r--r-- | gtk/gtkheaderbar.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk/gtkheaderbar.h b/gtk/gtkheaderbar.h index 0e4f5e20ba..5e803f7b71 100644 --- a/gtk/gtkheaderbar.h +++ b/gtk/gtkheaderbar.h @@ -90,6 +90,13 @@ GDK_AVAILABLE_IN_3_10 void gtk_header_bar_set_show_close_button (GtkHeaderBar *bar, gboolean setting); +GDK_AVAILABLE_IN_3_12 +gboolean gtk_header_bar_get_show_fallback_app_menu (GtkHeaderBar *bar); + +GDK_AVAILABLE_IN_3_12 +void gtk_header_bar_set_show_fallback_app_menu (GtkHeaderBar *bar, + gboolean setting); + G_END_DECLS #endif /* __GTK_HEADER_BAR_H__ */ |