Re: Incorporating changes from bindings [was: Add GtkRadioGroup?]



On Wed, 2010-11-10 at 17:16 +0100, Philip Chimento wrote:
> On Sun, Oct 31, 2010 at 11:28, Alexander Larsson <alexl redhat com> wrote:
> > By the way, are there any other places where the java or C++ bindings do
> > "cleanup" changes like this? Some may be interesting to push into the
> > core now that we have the chance.
> 
> I'd propose adding gtk_builder_get_widget_derived(), based on a method
> in gtkmm [1]. This would make it much easier to use Glade when
> subclassing widgets.
> 
> [1] http://library.gnome.org/devel/gtkmm-tutorial/unstable/sec-builder-using-derived-widgets.html.en

Note that I don't like how it demands that the derived class has a
certain constructor (that takes a Builder instance as parameter), but
there might be a better way:
https://bugzilla.gnome.org/show_bug.cgi?id=134161
But that's probably all very C++.

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



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