2017-02-23 Murray Cumming 3.89.4 2017-02-15 Kjell Ahlstedt Add Gtk::WidgetCustomDraw and WidgetCustomSnapshot The WidgetCustomDraw and WidgetCustomSnapshot classes make it possible to use signal_draw() and snapshot_vfunc() in gtkmm without modification of gtk+. Bug 775348. See also gtk+ bug 774778. 2017-02-10 Kjell Ahlstedt Gtk::Application: Remove create() method with argc,argv arguments * gtk/src/application.[ccg|hg]: Remove the constructor and create() method that take argc and argv arguments. They are unnecessary now that gtk_init() does not use argc,argv. * demos/gtk-demo/main.cc: * tests/*/main.cc: Move argc,argv from create() to run(). https://mail.gnome.org/archives/gtkmm-list/2017-February/msg00000.html 2017-02-08 Kjell Ahlstedt Gtk::Clipboard: Comment why get_default() is not wrapped 2017-01-31 Kjell Ahlstedt Add some methods that use Gtk::Snapshot * gtk/src/cellarea.hg: Add snapshot() and snapshot_vfunc(). * gtk/src/cellrenderer.hg: Add snapshot() and snapshot_vfunc(). * gtk/src/checkmenuitem.hg: Add snapshot_indicator_vfunc(). 2017-01-31 Kjell Ahlstedt Gtk: Move some methods from ToggleButton to CheckButton ToggleButton::[set|get]_mode() are also renamed to CheckButton::[set|get]_draw_indicator(). CheckButton::draw_indicator_vfunc() is removed. Corresponding changes have been made in gtk+. 2017-01-31 Kjell Ahlstedt Gtk: Regenerate .defs and docs.xml files, update gtk_vfuncs.defs 2017-01-27 Kjell Ahlstedt Gtk::Widget: Add methods for child widgets Add get_first_child(), get_last_child(), get_next_sibling(), get_prev_sibling(), snapshot_child(). Add property_css_name(). 2017-01-22 Kjell Ahlstedt Gtk::Widget: Add new vfuncs. Don't wrap signal_draw(). gtk/src/gtk_vfuncs.defs: Add new vfuncs. gtk/src/widget.[ccg|hg]: Add compute_expand_vfunc(), queue_draw_region_vfunc(), queue_draw_child_vfunc(). Add comments saying that signal_draw() and snapshot_vfunc() shall not be wrapped in Gtk::Widget. 2017-01-22 Kjell Ahlstedt Add Gtk::Snapshot .gitignore: Add snapshot.h and snapshot.cc. gtk/src/filelist.am: Add snapshot.hg. gtk/src/gtk_extra_objects.defs: Add GtkSnapshot. gtk/src/snapshot.[ccg|hg]: New files. This first version is incomplete, because there are no C++ bindings of the gtk+/Gsk classes and the graphene classes. snapshot.h has not been added to gtk/gtkmm.h, because probably very few users will use the Snapshot class. 2017-01-22 Kjell Ahlstedt Gtk: Remove API which has been removed in gtk+-4 gtk_init() does not take argc and argv parameters any more. The visible property has default value true. Therefore gtk_widget_show_all() and friends have become unnecessary and have been removed. * gtk/src/application.ccg: Remove parameters from calls to gtk_init(). * gtk/src/bin.ccg: add_pixlabel(): Remove call to Gtk::Widget::show_all(). * gtk/src/combobox.[ccg|hg]: Remove property_cell_area() and the constructor that takes a CellArea parameter- * gtk/src/container.[ccg|hg]: Remove show_all_children(). * gtk/src/main.[ccg|hg]: Remove constructors that take (argc,argv) parameters. Remove add_gtk_option_group() because gtk_get_option_group() has been removed. * gtk/src/widget.hg: Remove show_all(), set/get_no_show_all(), show_all_vfunc(), property_no_show_all(). * demos/gtk-demo/*.cc: * tests/*/*.cc: Remove all calls to Container::show_all_children() and Widget::show_all(). * tests/object_move/main.cc: Remove the (argc,argv) parameters from the call to gtk_init(). 2017-01-22 Kjell Ahlstedt Gdk, Gtk: Regenerate defs and docs.xml files * tools/extra_defs_gen/generate_defs_[gdk|gtk].cc: Remove the (argc,argv) parameters from the calls to gtk_init().