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