diff options
Diffstat (limited to 'gtk/gtkapplication.h')
-rw-r--r-- | gtk/gtkapplication.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gtk/gtkapplication.h b/gtk/gtkapplication.h index 2d12039e09..c08f2dc373 100644 --- a/gtk/gtkapplication.h +++ b/gtk/gtkapplication.h @@ -48,10 +48,21 @@ struct _GtkApplication GtkApplicationPrivate *priv; }; +/** + * GtkApplicationClass: + * @parent_class: The parent class. + * @window_added: Signal emitted when a #GtkWindow is added to + * application through gtk_application_add_window(). + * @window_removed: Signal emitted when a #GtkWindow is removed from + * application, either as a side-effect of being destroyed or + * explicitly through gtk_application_remove_window(). + */ struct _GtkApplicationClass { GApplicationClass parent_class; + /*< public >*/ + void (*window_added) (GtkApplication *application, GtkWindow *window); void (*window_removed) (GtkApplication *application, |