GtkFileChooserDialog how to ... ?

2015-01-18 Thread Nicolas Jäger
Hi people, I have difficulties to figure how to use the GtkFileChooserDialog. First In glade I added two buttons, one OK with the response ID of 0 and the second CANCEL with the response ID of 1. now I want to connect two signals, one for each response ID. I'm lost at that point, thx to the

Compilation with gtkmm gives a lot of warnings

2015-01-18 Thread Frédéric Fort
Hello, I am trying to learn how to use gtkmm for some days now. Unfortunately, my compiler sends a lot of errors because of gtkmm, when I add warning flags. When compiling a minimalistic program (a Gtk::Main and an empty Gtk::Window) with the flag -Weffc++ alone, I get 221 warnings. Looking for

Re: Compilation with gtkmm gives a lot of warnings

2015-01-18 Thread Jonas Platte
There's a simple fix for that: Don't use -Weffc++. The C++ standard library g++ uses (I think it's called libstdc++) doesn't even pass without, or with only a few warnings when having that flag enabled. For example, it warns you about class members that are not explicitly initialized in each