diff options
author | Ryan Lortie <desrt@desrt.ca> | 2014-06-30 12:16:19 -0400 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2014-07-02 20:17:34 -0400 |
commit | d3b34d3cf2caa19dc67e99df67c4b8cc1d4455df (patch) | |
tree | 610a3b9b8916971e1d99efdb7c6c447e02533715 /gtk/gtkapplication.h | |
parent | d8934ea23325ffb01e74529112b793b1f9939729 (diff) | |
download | gtk+-d3b34d3cf2caa19dc67e99df67c4b8cc1d4455df.tar.gz |
Add gtk_application_prefers_app_menu()
Applications can call this to determine if they should an app menu.
This will be %FALSE on desktop environments that do not have an
application menu like the one in gnome-shell. It is %FALSE on Windows
and Mac OS.
Applications are completely free to totally ignore this API -- it is
only provided as a hint to help applications that may be interested in
supporting non-GNOME platforms with a more native 'look and feel'.
https://bugzilla.gnome.org/show_bug.cgi?id=722092
Diffstat (limited to 'gtk/gtkapplication.h')
-rw-r--r-- | gtk/gtkapplication.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkapplication.h b/gtk/gtkapplication.h index 7ff13ad44b..9d1af95e10 100644 --- a/gtk/gtkapplication.h +++ b/gtk/gtkapplication.h @@ -151,6 +151,9 @@ void gtk_application_set_accels_for_action (GtkApplication const gchar *detailed_action_name, const gchar * const *accels); +GDK_AVAILABLE_IN_3_14 +gboolean gtk_application_prefers_app_menu (GtkApplication *application); + G_END_DECLS #endif /* __GTK_APPLICATION_H__ */ |