On Wednesday, 29 December 2021 13:21:02 CET Detlef Graef wrote: > The biggest concerns I have are regarding migration from GtkUIManager to > GtkBuilder. > > https://developer-old.gnome.org/gtk3/stable/GtkUIManager.html > > "GtkUIManager is deprecated since GTK+ 3.10. To construct user > interfaces from XML definitions, you should use GtkBuilder, GMenuModel, > et al. To work with actions, use GAction, GtkActionable et al. These > newer classes support richer functionality and integration with various > desktop shells. It should be possible to migrate most/all functionality > from GtkUIManager."
I guess that there are 2 possible ways: - port C++ calls one by one (and move some of them in the XML expected by GtkBuilder ?) - re-create the UI with glade and merge the generated UI with current code I really don't know which way is better. > The worst case would be if deprecated API calls are removed from a > current GTK3 lib version. I don't know how likely this is. I'd say we're fine with Gtk3. But probably not for Gtk4. HTH _______________________________________________ Pan-devel mailing list Pan-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/pan-devel