Gtkmm - Creating simpler window
Creating Gtk3 simple window was easy, isn’t it? In Gtkmm it is easier. I’ll show you.
main.cpp contents
Makefile contents
Nearly same as before. Only one change is in the third line. Instead of calling for gtk+-3.0 package we will use now gtkmm-3.0.
Compilation
As before, just enter in terminal:
Outro
This is the simplest of window applications in gtkmm. If you want to create more complicated one, you should play with inheritance of Gtk::Window or/and Gtk::Application (or any other class in gtkmm). See gtkmm docs for more informations.