
On Dec 30, 2009, at 3:09 PM, Krzysztof KosiĆski wrote:
2009/12/29 Ted Gould <ted@...11...>:
The problem being that the action/verb system was never moved to C++ really -- so I think that this pattern is still appropriate. Now, whether the code should be migrated is a different story :)
I remember it being discused here that Verbs and SPActions were invented before GTK had the Gtk::Action class, which does roughly the same. Migrating actions to C++ classes should also involve evaluating to what extent those new GTK features can be used.
Yes,
And you also were told that GtkAction is really a UI-centric abstraction that we don't want to slave to.
That is, the GTK UI widgets gain from using these, but our code, especially since it needs to run with no UI whatsoever, does not gain anything from them.
I can dig up the details, but remember that C++ gives us the OO properties that one gains from using the GObject abstractions, so no need there. And the additions that GtkAction bring are not a good match to what we want in general.
I'll dig up the details again, but they really belong on the wiki page. I think that any point that has to be explained a few times really belongs on the wiki because that then is an indicator that others probably are in need of the same explanation. Wiki's are quite helpful for that.