/* * Enhancing the main menu example of gtkmm-tutorial/unstable presented in * https://developer.gnome.org/gtkmm-tutorial/unstable/\ * sec-menus-examples.html.de#menu-example-main * to show an application menu as suggested in * https://wiki.gnome.org/ThreePointThree/Features/ApplicationMenu, * described in * https://wiki.gnome.org/HowDoI/ApplicationMenu * and realised using gtkmm in * https://git.gnome.org/browse/gtkmm-documentation/tree/examples/book/\ * application/app_and_win_menus * * Started on 2014-11-10 * Current version: 2014-11-10 * Performed by: Jürgen Kleber (jkleber2701 t-online de) * * Original file downloaded on Sunday, 9th of November, 2014 from * https://git.gnome.org/browse/gtkmm-documentation/tree/examples/book/\ * application/app_and_win_menus/main.cc */ #include #include "exampleapplication.h" int main(int argc, char *argv[]) { Glib::RefPtr application = ExampleApplication::create(); // Start the application, showing the initial window, // and opening extra windows for any files that it is asked to open, // for instance as a command-line parameter. // run() will return when the last window has been closed by the user. const int status = application->run(argc, argv); return status; }