summaryrefslogtreecommitdiff
path: root/gtk/gtkapplication.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkapplication.h')
-rw-r--r--gtk/gtkapplication.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk/gtkapplication.h b/gtk/gtkapplication.h
index cae9e64d7c..30d095989e 100644
--- a/gtk/gtkapplication.h
+++ b/gtk/gtkapplication.h
@@ -75,18 +75,24 @@ void gtk_application_remove_window (GtkApplication *application,
GtkWindow *window);
GList * gtk_application_get_windows (GtkApplication *application);
+GDK_AVAILABLE_IN_3_4
GMenuModel * gtk_application_get_app_menu (GtkApplication *application);
+GDK_AVAILABLE_IN_3_4
void gtk_application_set_app_menu (GtkApplication *application,
GMenuModel *app_menu);
+GDK_AVAILABLE_IN_3_4
GMenuModel * gtk_application_get_menubar (GtkApplication *application);
+GDK_AVAILABLE_IN_3_4
void gtk_application_set_menubar (GtkApplication *application,
GMenuModel *menubar);
+GDK_AVAILABLE_IN_3_4
void gtk_application_add_accelerator (GtkApplication *application,
const gchar *accelerator,
const gchar *action_name,
GVariant *parameter);
+GDK_AVAILABLE_IN_3_4
void gtk_application_remove_accelerator (GtkApplication *application,
const gchar *action_name,
GVariant *parameter);
@@ -99,12 +105,15 @@ typedef enum
GTK_APPLICATION_INHIBIT_IDLE = (1 << 3)
} GtkApplicationInhibitFlags;
+GDK_AVAILABLE_IN_3_4
guint gtk_application_inhibit (GtkApplication *application,
GtkWindow *window,
GtkApplicationInhibitFlags flags,
const gchar *reason);
+GDK_AVAILABLE_IN_3_4
void gtk_application_uninhibit (GtkApplication *application,
guint cookie);
+GDK_AVAILABLE_IN_3_4
gboolean gtk_application_is_inhibited (GtkApplication *application,
GtkApplicationInhibitFlags flags);