summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/gtk2mmapp/gtk2mm.cc
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/gtk2mmapp/gtk2mm.cc')
-rw-r--r--languages/cpp/app_templates/gtk2mmapp/gtk2mm.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/gtk2mmapp/gtk2mm.cc b/languages/cpp/app_templates/gtk2mmapp/gtk2mm.cc
new file mode 100644
index 00000000..9845fede
--- /dev/null
+++ b/languages/cpp/app_templates/gtk2mmapp/gtk2mm.cc
@@ -0,0 +1,15 @@
+%{CC_TEMPLATE}
+
+#include <gtkmm/main.h>
+
+#include "main_window.hh"
+
+int main(int argc, char **argv)
+{
+
+ Gtk::Main m(&argc, &argv);
+
+ main_window main_window;
+ Gtk::Main::run(main_window);
+ return 0;
+}