summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/gtk2mmapp/main_window_glade.h
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/gtk2mmapp/main_window_glade.h')
-rw-r--r--languages/cpp/app_templates/gtk2mmapp/main_window_glade.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/gtk2mmapp/main_window_glade.h b/languages/cpp/app_templates/gtk2mmapp/main_window_glade.h
new file mode 100644
index 00000000..726409b4
--- /dev/null
+++ b/languages/cpp/app_templates/gtk2mmapp/main_window_glade.h
@@ -0,0 +1,48 @@
+%{HH_TEMPLATE}
+
+// DO NOT EDIT THIS FILE ! It was created using glade--
+// for gtk 2.8.3 and gtkmm 2.8.0
+//
+// 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 <gtkmm/accelgroup.h>
+
+class GlademmData
+{
+
+ Glib::RefPtr<Gtk::AccelGroup> accgrp;
+public:
+
+ GlademmData(Glib::RefPtr<Gtk::AccelGroup> ag) : accgrp(ag)
+ {
+ }
+
+ Glib::RefPtr<Gtk::AccelGroup> getAccelGroup()
+ { return accgrp;
+ }
+};
+#endif //GLADEMM_DATA
+
+#include <gtkmm/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();
+private:
+ virtual bool quit(GdkEventAny *ev) = 0;
+};
+#endif