Hi all,
Here you are an example about how to build a gtkmm application using cmake:
www.gnuinos.org/PrintPDF
This is the same example as:
https://developer.gnome.org/gtkmm-tutorial/3.20/gtkmm-tutorial.html#sec-printing-example
including some changes in the code. I'll explain them later.
The application prints the content of the window to a pdf document.
@Edward:
Have a look at the code of mainwindow.cpp. You can include the .xml code
generated by glade in a .cpp file.
Nonetheless, i'm also avoiding the use of GtkBuilder in Simple-Netaid,
like you.
Cheers,
Aitor.
P.D.- How to build:
mkdir build
cd build
cmake ../
make
You need to install gtkmm, cairomm, pangomm...