summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/gtk2mmapp/main_window.hh
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/gtk2mmapp/main_window.hh')
-rw-r--r--languages/cpp/app_templates/gtk2mmapp/main_window.hh19
1 files changed, 19 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/gtk2mmapp/main_window.hh b/languages/cpp/app_templates/gtk2mmapp/main_window.hh
new file mode 100644
index 00000000..640e1461
--- /dev/null
+++ b/languages/cpp/app_templates/gtk2mmapp/main_window.hh
@@ -0,0 +1,19 @@
+%{HH_TEMPLATE}
+
+// newer (non customized) versions of this file go to main_window.hh_new
+
+// you might replace
+// class foo : public foo_glade { ... };
+// by
+// typedef foo_glade foo;
+// if you didn't make any modifications to the widget
+
+#ifndef _MAIN_WINDOW_HH
+# include "main_window_glade.hh"
+# define _MAIN_WINDOW_HH
+class main_window : public main_window_glade
+{
+
+ bool quit(GdkEventAny *ev);
+};
+#endif