diff options
Diffstat (limited to 'languages/cpp/app_templates/gnome2mmapp/main_window_glade.h')
-rw-r--r-- | languages/cpp/app_templates/gnome2mmapp/main_window_glade.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/gnome2mmapp/main_window_glade.h b/languages/cpp/app_templates/gnome2mmapp/main_window_glade.h new file mode 100644 index 00000000..1793dbdc --- /dev/null +++ b/languages/cpp/app_templates/gnome2mmapp/main_window_glade.h @@ -0,0 +1,49 @@ +%{HH_TEMPLATE} + +// DO NOT EDIT THIS FILE ! It was created using +// glade-- /home/amp8165/Projects/gnome2mm/gnome2mm.glade +// for gtk 2.2.4 and gtkmm 1.2.10 +// +// Please modify the corresponding derived classes in ./src/main_window.h and./src/main_window.cpp + +#ifndef _MAIN_WINDOW_GLADE_H +# define _MAIN_WINDOW_GLADE_H + + +#if !defined(GLADEMM_DATA) +#define GLADEMM_DATA +#include <gtk--/accelgroup.h> + +class GlademmData +{ + + Gtk::AccelGroup *accgrp; +public: + + GlademmData(Gtk::AccelGroup *ag) : accgrp(ag) + { + } + + Gtk::AccelGroup * getAccelGroup() + { return accgrp; + } +}; +#endif //GLADEMM_DATA + +#include <gtk--/window.h> + +class main_window_glade : public Gtk::Window +{ + + GlademmData *gmm_data; +public: + class Gtk::Window *main_window; +protected: + + main_window_glade(); + + ~main_window_glade(); + + virtual gint quit(GdkEventAny *ev) = 0; +}; +#endif |