2020-12-20 Kjell Ahlstedt 4.0.0 2020-12-20 Kjell Ahlstedt Change GTK+ to GTK and add a note that not everything has been updated to gtkmm4. 2020-12-14 Kjell Ahlstedt Refer to README files for building with Meson and suggest filing GitLab issues and merge requests. 2020-12-11 Kjell Ahlstedt Use glibmm-2.68 instead of glibmm-2.66 We have changed the ABI name in glibmm. 2020-12-04 Kjell Ahlstedt Remove the FileChooserButton example Gtk::FileChooserButton has been removed from gtkmm. 2020-10-30 Kjell Ahlstedt docs/tutorial/Makefile.am: Modify for Infrastructure/damned-lies * docs/tutorial/Makefile.am: Include help-files.am. * docs/tutorial/help-files.am: New file. A better fix for suiting damned-lies. Depends on a recent patch in damned-lies. See Infrastructure/damned-lies#58 2020-10-26 Kjell Ahlstedt docs/tutorial/Makefile.am: Try to adapt to Infrastructure/damned-lies Infrastructure/damned-lies is confused by gtkmm-documentation's HELP_FILES = index.docbook, where the specified file is not stored in the git repo. Try to make it create a .pot file from the existing index-in.docbook. This is a crazy workaround for an old bug. Even if it works now, it may fail after even the slightest modification of Infrastructure/damned-lies/stats/utils.py. See Infrastructure/damned-lies#58 and gtkmm-documentation#13 2020-10-25 Kjell Ahlstedt Improve the builder examples Read the .glade file in a Gio::Application::signal_activate() handler. 2020-10-23 Kjell Ahlstedt Use Gtk::Application::make_window_and_run() and other necessary changes after recent changes in gtk and gtkmm. 2020-10-22 Kjell Ahlstedt Autotools build: Distribute docs/tutorial/insert_example_code.py Should have been done when Meson build dropped the dependence on Perl. 2020-10-22 Chun-wei Fan Update the "gtkmm and Win32" appendix Links in the patch added by Kjell Ahlstedt. Fixes #4 2020-09-18 Kjell Ahlstedt Meson build: Drop dependence on Perl * tools/tutorial/insert_example_code.py: New Python file, equivalent to the insert_example_code.pl Perl file. The Perl file is still used when building with Autotools. 2020-09-08 Kjell Ahlstedt Meson build: Exclude some git-tracked files from tarballs and use 'with' in Python code when files are opened. 2020-09-03 Kjell Ahlstedt Update after Gtk::RadioButton has been removed The RadioButton class has been removed. CheckButtons and ToggleButtons act as radio buttons, if they make up a group. Update example programs and the Buttons chapter. 2020-08-24 Kjell Ahlstedt Remove description of Gtk::Container Gtk::Container has been removed. Describe that most container widgets now derive directly from Gtk::Widget. Gtk::Container::add() has been replaced by Gtk::Box::append() and other methods. 2020-08-17 Kjell Ahlstedt Describe how to build a multi-threaded program Fixes #12 2020-08-06 Kjell Ahlstedt input example: Don't include build/config.h The configuration with Autotools or Meson sets the compiler option -DDONT_HAVE_MKFIFO=1, if mkfifo() does not exist. Meson does not create build/config.h. This makes life easier for those who build with their own Makefile or CMake file or whatever. Fixes #11 2020-08-05 Kjell Ahlstedt entry/completion example: Remove actions and other changes due to changes in gtk and gtkmm. * configure.ac: * meson.build: Don't disable deprecated atkmm API. Gtkmm does not depend on atkmm any more. * examples/book/buildapp/step[5-9]/prefs.ui: Rename some Gtk::GridLayout properties. * examples/book/entry/completion/examplewindow.[cc|h]: Remove actions. Gtk::EntryCompletion does not handle actions. * examples/others/cellrenderercustom/cellrendererpopup.cc: Don't use the removed Gdk::Display::get_default_group(). 2020-07-14 Kjell Ahlstedt Update the Building applications chapter Update similarly to the description in docs/reference/gtk/getting_started.md in the GTK module. Update the figures. 2020-07-09 Kjell Ahlstedt Describe how the mm-common/skeletonmm project is built with Meson Appendix G. Wrapping C Libraries with gmmproc: Describe how the skeletonmm project is built with Meson (was Autotools). 2020-07-08 Kjell Ahlstedt The .hg and .ccg files section: Remove description of CHILD_PROPERTY There are no child properties in gtk4 and gtkmm4. 2020-06-05 Kjell Ahlstedt index-in.docbook: Don't try to show removed app_menu.ui file 2020-06-05 Kjell Ahlstedt Fix clipboard example programs and some other example programs. * examples/book/buildapp/step9/exampleappwindow.cc: * examples/book/buildapp/step9/window.ui: Show window icon. * examples/book/buttons/radiobutton/radiobuttons.cc: Only one pressed button when the program starts up. * examples/book/clipboard/ideal/examplewindow.[cc|h]: * examples/book/clipboard/simple/examplewindow.[cc|h]: Store copied text until someone has a chance to paste it. * examples/book/treeview/filter_modify/examplewindow.cc: Fix some TODO comments. 2020-05-30 Kjell Ahlstedt examples/book/buildapp: Update Makefile.am and Makefile.example Should have been done in the previous commit when app_menu.ui files were removed. 2020-05-29 Kjell Ahlstedt examples: Don't use application menus Application menus have been removed from gtk and gtkmm. Use window menus (menubars). * examples/book/buildapp: Remove all app_menu.ui and move the menu items to gears_menu.ui. (Move from application menu to window menu.) * examples/book/application: Rename app_and_win_menus to menubar. * examples/book/menus/main_menu/exampleapplication.cc: Use ApplicationWindow::set_show_menubar(). 2020-05-26 Kjell Ahlstedt example programs: Use Glib::make_refptr_for_instance() in create() create() methods that return a Glib::RefPtr must use Glib::make_refptr_for_instance(). 2020-05-26 Kjell Ahlstedt examples/others/*: Update some examples after Gtk::Container was removed This commit fixes example programs in examples/others/*. All these programs can be compiled and linked with the latest gtkmm and a gtk from May 22. They are not guarateed to work. 2020-05-26 Kjell Ahlstedt examples/book/[o-z]*: Update some examples after Gtk::Container was removed This commit fixes example programs in examples/book/[o-z]*. (Actually there are programs only in the interval [p-u].) All these programs can be compiled and linked with the latest gtkmm and a gtk from May 22. A few programs do not work fully. 2020-05-26 Kjell Ahlstedt examples/book/[e-n]*: Update some examples after Gtk::Container was removed This commit fixes example programs in examples/book/[e-n]*, i.e. subdirectories with names beginning with e through n, inclusive. All these programs can be compiled and linked with the latest gtkmm and a gtk from May 22. A few programs does not work fully. 2020-05-26 Kjell Ahlstedt examples/book/[cd]*: Update some examples after Gtk::Container was removed Gtk::Bin, Gtk::Container and Gtk::Dialog::run() have been removed. This removal affects most example programs. This commit fixes example programs in examples/book/[cd]*, i.e. subdirectories with names beginning with c or d. Some of these examples contain dialogs. Modal dialogs became more complicated when gtk_dialog_run() and Gtk::Dialog::run() were removed. 2020-05-24 Kjell Ahlstedt examples/book/[ab]*: Update some examples after Gtk::Container was removed Gtk::Bin, Gtk::Container and Gtk::Dialog::run() have been removed. This huge removal affects most example programs. This commit fixes example programs in examples/book/[ab]*, i.e. subdirectories with names beginning with a or b. 2020-04-27 Kjell Ahlstedt examples: Update for latest gtkmm4 (remove Gtk::ShadowType, etc.) * examples/book/label/examplewindow.cc: Label::set_pattern() is replaced by Pango markup to get underlined text. * examples/book/popover/examplewindow.[cc|h]: The ToggleButton has been replaced by a MenuButton. gtk_get_current_event() has been removed in gtk, which made it more difficult to decide where to show a Popover when a day is selected. Minor changes in several other example programs. 2020-04-12 Kjell Ahlstedt Keyboard events example: Update a ModifierType mask Gdk::ModifierType::MOD1_MASK has been renamed to ALT_MASK. 2020-03-31 Kjell Ahlstedt Meson build: Set default value of the 'warnings' option to 'min' And add 'dist-warnings' with default value 'fatal'. It's used when a tarball is tested by 'ninja dist' or 'meson dist'. 2020-03-24 Kjell Ahlstedt Use glibmm-2.66 instead of glibmm-2.64 We have changed the ABI name in glibmm. 2020-03-12 Kjell Ahlstedt examples: Update for latest gtkmm4 (remove property_margin(), etc.) * examples/book/drag_and_drop/dndwindow.[cc|h]: * examples/others/dnd/dndwindow.[cc|h]: Drag-and-drop has been modified in gtk and gtkmm. These DnD examples can now be compiled, but they don't fully work. Neither does tests/testdnd.c in gtk. Widget::property_margin() and property_expand() have been removed. It affects many .ui files and ui_info strings. 2020-02-25 Kjell Ahlstedt examples: Update for latest gtkmm4 (no Gdk::EventButton, etc.) * examples/book/buttons/filechooserbutton/examplewindow.cc: Don't use removed Gtk::FileChooser::set_local_only(). * examples/book/dialogs/filechooserdialog/examplewindow.cc: * examples/book/dialogs/filechoosernative/examplewindow.cc: * examples/book/recent_files/examplewindow.cc: Use FileChooser::get_file() instead of removed get_filename(). * examples/book/drag_and_drop/dndwindow.[cc|h]: Use Gtk::DragSource::signal_prepare() instead of removed Gdk::ContentProvider::create() with callback function. * examples/book/infobar/examplewindow.cc: Use Gtk::Container::add() instead of removed Gtk::InfoBar::get_content_area(). * examples/book/popover/examplewindow.cc: Don't cast the Gdk::Event to a subclass. Gdk::Event does not have subclasses now. * examples/book/treeview/drag_and_drop/treemodel_dnd.[cc|h]: Gtk::TreeDragDest::row_drop_possible_vfunc() has got a changed signature (Glib::ValueBase& instead of Gtk::SelectionData&). * examples/others/cellrenderercustom/cellrendererpopup.cc: * examples/others/cellrenderercustom/popupentry.cc: * examples/others/dnd/dndwindow.cc: The Gtk::Window ctor has no WindowType argument.