diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2024-07-21 23:04:53 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2024-07-21 23:04:53 (GMT) |
commit | d1874bdcaf52717ebf6f808010d275ca1f1693f3 (patch) | |
tree | c47941b305f6d4867e91edbb0b90e69f63778072 /src/app.h | |
parent | e4ccb9e56e822628e299527fee0b7325f0d25662 (diff) |
Separate the GTK application and the GTK main window.
Diffstat (limited to 'src/app.h')
-rw-r--r-- | src/app.h | 26 |
1 files changed, 24 insertions, 2 deletions
@@ -25,9 +25,31 @@ #define _APP_H +#include <gtk/gtk.h> -/* Installe au besoin une définition locale pour le système. */ -void ensure_wm_icon_and_name(void); + +#include "glibext/helpers.h" + + + +/* --------------------- DEFINITION D'APPLICATION PERSONNALISEE --------------------- */ + + +#define GTK_TYPE_CHRYSALIDE_FRAMEWORK (gtk_chrysalide_framework_get_type()) + +DECLARE_GTYPE(GtkChrysalideFramework, gtk_chrysalide_framework, GTK, CHRYSALIDE_FRAMEWORK); + + +/* Crée une nouvelle application principale pour Chrysalide. */ +GtkChrysalideFramework *gtk_chrysalide_framework_new(void); + + + +/* ---------------------- POINT D'ENTREE PRINCIPAL D'EXECUTION ---------------------- */ + + +/* Point d'entrée du programme. */ +int main(int, char **); |