2016-11-14 Kjell Ahlstedt 3.22.0 2016-11-14 Kjell Ahlstedt Link to gtkmm 3.22 and glibmm 2.50 In preparation for future releases that will be compatible with the ABI-breaking gtkmm-4.0 and glibmm-2.52, let the links from the generated html files point to gtkmm 3.22 and glibmm 2.50 instead of the usual latest unstable documentation and git's master branch. Bug 773642 comment 4. 2016-11-08 Kjell Ahlstedt Replace Menu::popup() by Menu::popup_at_pointer() * examples/book/menus/popup/examplewindow.cc: * examples/book/treeview/popup/treeview_withpopup.cc: Replace the deprecated Menu::popup() by the new Menu::popup_at_pointer(). * examples/others/cellrenderercustom/cellrenderertoggle.cc: Don't use an anonymous namespace. gcc 6.2.0 reports errors because there are unused functions. (I don't want to remove them. I suppose someone has planned to use them some time.) 2016-10-25 Kjell Ahlstedt Build app example: Use Gio::Settings::bind(key, property_proxy, flags) * docs/tutorial/C/index-in.docbook: * examples/book/buildapp/step5/exampleappprefs.cc: * examples/book/buildapp/step[5-9]/exampleappwindow.cc: Use Gio::Settings::bind(key, property_proxy, flags) instead of Gio::Settings::bind(key, object, property_name, flags). Better compile-time checking and no need for the ugly tag.operator->(). Bug #772391 2016-10-19 Kjell Ahlstedt Add last part of "Building applications" chapter with example code * docs/tutorial/C/index-in.docbook: Add sections 7-9 of the "Building applications" chapter. It's a C++/gtkmm version of a chapter in the gtk+ documentation. * docs/tutorial/C/figures/buildapp_*.png: 3 new files. Update the old files. * docs/tutorial/Makefile.am: Add new image files. * examples/book/buildapp/.gitignore: Ignore gschemas.compiled. * examples/book/buildapp/Makefile.am: Add files in step[7-9]. * examples/book/buildapp/step[7-9]: New directories with many new files. Bug #772391 2016-10-15 Kjell Ahlstedt Add another part of "Building applications" chapter with example code * docs/tutorial/C/index-in.docbook: Add sections 4-6 of the "Building applications" chapter. It's a C++/gtkmm version of a chapter in the gtk+ documentation. * docs/tutorial/C/figures/buildapp_*.png: 3 new files. * docs/tutorial/Makefile.am: Add new image files. * configure.ac: Add GLIB_GSETTINGS. * examples/Makefile.am: Don't distribute resources.c files. * examples/book/buildapp/Makefile.am: Add files in step[4-6]. * examples/book/buildapp/step[1-2]/Makefile.example: Improved * examples/book/buildapp/step[4-6]: New directories with many new files. Bug #772391 2016-10-10 Kjell Ahlstedt Add examples/book/buildapp/.gitignore Should have been included in the previous commit. 2016-10-09 Kjell Ahlstedt Add part of "Building applications" chapter with example code * docs/tutorial/C/index-in.docbook: Add the first 3 sections of the "Building applications" chapter. It's a C++/gtkmm version of a chapter in the gtk+ documentation. * docs/tutorial/C/figures/buildapp_*.png: New files. * docs/tutorial/Makefile.am: Add new image files. * configure.ac: Add examples/book/buildapp/Makefile. * examples/Makefile.am: Call Makefile in the book/buildapp directory. * examples/book/buildapp/*: New directory with many new files. Bug #772391 2016-08-07 Kjell Ahlstedt Remove build/ax_cxx_compile_stdcxx.m4 It is not used. gtkmm-documentation uses mm-ax_cxx_compile_stdcxx.m4, copied from mm-common. 2016-08-07 Kjell Ahlstedt RadioButton section: Describe Gtk::RadioButton::join_group() * docs/tutorial/C/index-in.docbook: RadioButton section: Describe join_group(). * examples/book/buttons/radiobutton/radiobuttons.cc: * examples/book/keyboard_events/simple/examplewindow.cc: Use join_group(). Bug #769374 2016-07-26 Murray Cumming Fix the build. 2016-07-26 Murray Cumming C++14: Use std::make_unique<>(). 2016-07-26 Murray Cumming Require C++14. So we can use some nicer features in our example code. 2016-07-20 Kjell Ahlstedt Mention that Gtk::Action is deprecated * docs/tutorial/C/index-in.docbook: Mention that Gtk::ActionGroup, Gtk::*Action, Gtk::UIManager and Gtk::Activatable are now deprecated. 2016-07-19 Kjell Ahlstedt AboutDialog example: Add a logotype * docs/tutorial/C/index-in.docbook: Add aboutdialog.gresource.xml to the listed source code files. * examples/.gitignore: Ignore book/dialogs/aboutdialog/resources.c. * examples/Makefile.am: Make a resource file for the AboutDialog example. * examples/book/dialogs/aboutdialog/examplewindow.cc: Add a logotype to the dialog. * examples/book/dialogs/aboutdialog/aboutdialog.gresource.xml: New file. * examples/book/dialogs/aboutdialog/gtkmm_logo.gif: New file. Copied from gtkmm/docs/images/gtkmm_logo.gif. 2016-07-19 Kjell Ahlstedt Build: Fix silent builds * configure.ac: Pass yes to AM_SILENT_RULES, thus enabling silent builds. Replace MM_AX_CXX_COMPILE_STDCXX_11 by MM_AX_CXX_COMPILE_STDCXX (not necessary for silent builds). Bug #768797 2016-06-30 Kjell Ahlstedt Add the ListModel example * examples/MakeFile.am: Add book/listmodel. * examples/book/listmodel/main.cc: * examples/book/listmodel/examplewindow.[h|cc]: * examples/book/listmodel/myobject.[h|cc]: New files. This example is similar to gtk+/tests/listmodel.c. Bug #755149 2016-06-29 Kjell Ahlstedt _CUSTOM_WRAP_FUNCTION and _NO_WRAP_FUNCTION in _CLASS_GTKOBJECT _CUSTOM_WRAP_FUNCTION and _NO_WRAP_FUNCTION can now be used also in a _CLASS_GTKOBJECT. Add that info to "The .hg and .ccg files" section. Bug #767951 2016-06-19 Kjell Ahlstedt Printing examples: Add missing menu items and toolbar Before GtkUIManager was deprecated, the printing/simple and printing/advanced examples had a toolbar and more menu items. Add them again. Make main.cc and examplewindow.[h|cc] identical in these two examples. 2016-06-17 Kjell Ahlstedt printing/advanced example: Don't use deprecated methods Replace calls to Gdk::Window::create_cairo_context() by Gdk::Window:: begin_draw_frame() and Gdk::DrawingContext::get_cairo_context(). 2016-06-02 Kjell Ahlstedt Move the description of _CUSTOM_MOVE_OPERATIONS Move the description of this gmmproc macro to the "Macros that suppress generation of some code" section, and make it similar to the other descriptions there. 2016-06-02 Kjell Ahlstedt Describe the optional err_return_value argument in _WRAP_VFUNC 2016-05-30 Murray Cumming Small const improvement. 2016-05-22 Kjell Ahlstedt Use the pan-[up,down,start,end]-symbolic icons * examples/others/arrow/arrow.cc: Use pan-[up,down,start,end]-symbolic * examples/others/cellrenderercustom/popupentry.cc: Use pan-down-symbolic These icons have been around for about two years now. They should be available in most systems. 2016-05-16 Murray Cumming calendar: Don't use deprecated font: CSS syntax. 2016-05-16 Murray Cumming Don't crash when showing GtkCssProvider errors. 2016-05-16 Murray Cumming Remove trailing whitespace. 2016-04-03 Kjell Ahlstedt Document 'deprecated' option in _WRAP_ENUM and _WRAP_GERROR Document all options in _WRAP_ENUM and _WRAP_GERROR, including the new deprecated option. 2016-04-01 Marcin Kolny Add description of _CUSTOM_MOVE_OPERATIONS macro