diff options
author | Ryan Lortie <desrt@desrt.ca> | 2010-10-19 21:10:02 +0200 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2010-10-19 21:10:02 +0200 |
commit | c5ebb61b6f6dc0388b7a0b4167578299fac1d0d0 (patch) | |
tree | 2453cbc89be80a412d5c0b5a4f078150e6325b7a /gtk/gtkapplication.h | |
parent | 9b3ee686eac7b53e9b14f368cb46dc773864ae37 (diff) | |
download | gtk+-c5ebb61b6f6dc0388b7a0b4167578299fac1d0d0.tar.gz |
GtkApplication: add gtk_application_get_windows()
Return a GList of the GtkWindow objects for each window that has the
application set as its "application" property.
Diffstat (limited to 'gtk/gtkapplication.h')
-rw-r--r-- | gtk/gtkapplication.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gtk/gtkapplication.h b/gtk/gtkapplication.h index a4ff6c5d0a..c9c8571a46 100644 --- a/gtk/gtkapplication.h +++ b/gtk/gtkapplication.h @@ -64,9 +64,17 @@ struct _GtkApplicationClass GType gtk_application_get_type (void) G_GNUC_CONST; -GtkApplication* gtk_application_new (const gchar *application_id, +GtkApplication * gtk_application_new (const gchar *application_id, GApplicationFlags flags); +void gtk_application_add_window (GtkApplication *application, + GtkWindow *window); + +void gtk_application_remove_window (GtkApplication *application, + GtkWindow *window); + +GList * gtk_application_get_windows (GtkApplication *application); + G_END_DECLS #endif /* __GTK_APPLICATION_H__ */ |