GNOME Bugzilla – Bug 665315
Prepare to phase out GtkActionGroup and GtkUIManager
Last modified: 2015-05-16 09:16:44 UTC
We cannot just accumulate alternative ways to create UIs, so we should make sure that GtkApplication/GAction/GMenu are sufficient to replace most uses of GtkActionGroup/GtkUIManager. I think the most pressing need here is a way to hook up tool buttons to the same actions that back the menus.
Hooking up tool buttons, buttons and switches has been solved.
GtkUIManager, GtkActionGroup and GtkAction have now been deprecated. The demos showing the use of GtkUIManager (demos/gtk-demo/appwindow.c and demos/gtk-demo/ui_manager.c) have been removed. But the GtkBuilder demo (demos/gtk-demo/builder.c) still uses GtkUIManager, GtkActionGroup and GtkAction. See demos/gtk-demo/demo.ui. Will it be changed in the near future? I'm asking because I plan to make a Gtk::Builder demo for gtkmm, to replace the removed Gtk::UIManager demo. I hope I can steal some ideas, and perhaps copy the whole demo.ui file, from gtk+.
I've ported the builder demo away from GtkUIManager now.
Thanks! I have used it for making a builder demo in gtkmm.