Re: Replacing Gtk::Action and Gtk::UIManager with Gio::Action and Gtk::Builder

On Tue, 2013-09-03 at 23:04 +0200, Murray Cumming wrote:
There are other problems that prevent a simple deprecation of
* There is no replacement yet for GtkRadioActionItem:

I meant GtkRecentAction:

This is still the major obstacle to us really deprecating GtkAction
GtkUIManager. I don't see much chance that it will be fixed in the GTK
API soon enough.

It doesn't look like this will ever be replaced, and there seems some
chance that GNOME applications will just stop having recent files menu

* GtkBuilder's <menu> syntax does not let us define toolbars, like
GtkUIManager's syntax did. But apparently I'll be able to get this
working with GtkBuilder's old syntax and the items' action-name

I've chosen to just do this in code, in the examples. However, we need
to use the C API to set the GAction's name on the toolbar button:
because we cannot yet break the ABI to add Gtk::Actionable as a base
class for several classes:

So, I think we can leave these classes deprecated after all. I'll post
separately about the new API.

Murray Cumming
murrayc murrayc com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]