22#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
23#error "Only <gtk/gtk.h> can be included directly."
31#define GTK_TYPE_APPLICATION (gtk_application_get_type ())
32#define GTK_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_APPLICATION, GtkApplication))
33#define GTK_APPLICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_APPLICATION, GtkApplicationClass))
34#define GTK_IS_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_APPLICATION))
35#define GTK_IS_APPLICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_APPLICATION))
36#define GTK_APPLICATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_APPLICATION, GtkApplicationClass))
122 const char *detailed_action_name);
130 const char *detailed_action_name,
131 const char *
const *accels);
#define GDK_AVAILABLE_IN_ALL
typedefG_BEGIN_DECLS struct _GList GList
#define G_DEFINE_AUTOPTR_CLEANUP_FUNC(TypeName, func)
GOBJECT_AVAILABLE_IN_ALL void g_object_unref(gpointer object)
GDK_AVAILABLE_IN_ALL GList * gtk_application_get_windows(GtkApplication *application)
GDK_AVAILABLE_IN_ALL void gtk_application_set_menubar(GtkApplication *application, GMenuModel *menubar)
GDK_AVAILABLE_IN_ALL char ** gtk_application_get_accels_for_action(GtkApplication *application, const char *detailed_action_name)
GDK_AVAILABLE_IN_ALL GMenu * gtk_application_get_menu_by_id(GtkApplication *application, const char *id)
GDK_AVAILABLE_IN_ALL void gtk_application_uninhibit(GtkApplication *application, guint cookie)
GtkApplicationInhibitFlags
@ GTK_APPLICATION_INHIBIT_LOGOUT
@ GTK_APPLICATION_INHIBIT_IDLE
@ GTK_APPLICATION_INHIBIT_SUSPEND
@ GTK_APPLICATION_INHIBIT_SWITCH
GDK_AVAILABLE_IN_ALL GtkApplication * gtk_application_new(const char *application_id, GApplicationFlags flags)
GDK_AVAILABLE_IN_ALL void gtk_application_remove_window(GtkApplication *application, GtkWindow *window)
GDK_AVAILABLE_IN_ALL GType gtk_application_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_ALL char ** gtk_application_list_action_descriptions(GtkApplication *application)
GDK_AVAILABLE_IN_ALL void gtk_application_set_accels_for_action(GtkApplication *application, const char *detailed_action_name, const char *const *accels)
GDK_AVAILABLE_IN_ALL GtkWindow * gtk_application_get_active_window(GtkApplication *application)
GDK_AVAILABLE_IN_ALL GMenuModel * gtk_application_get_menubar(GtkApplication *application)
GDK_AVAILABLE_IN_ALL GtkWindow * gtk_application_get_window_by_id(GtkApplication *application, guint id)
GDK_AVAILABLE_IN_ALL char ** gtk_application_get_actions_for_accel(GtkApplication *application, const char *accel)
GDK_AVAILABLE_IN_ALL void gtk_application_add_window(GtkApplication *application, GtkWindow *window)
GDK_AVAILABLE_IN_ALL guint gtk_application_inhibit(GtkApplication *application, GtkWindow *window, GtkApplicationInhibitFlags flags, const char *reason)
void(* window_removed)(GtkApplication *application, GtkWindow *window)
void(* window_added)(GtkApplication *application, GtkWindow *window)
GApplicationClass parent_class
GApplication parent_instance