Re: GtkBuildable type resolver



On Wed, 2007-06-06 at 18:24 -0300, Johan Dahlin wrote:
> > GladeXml has a lookup_type() vfunc for this, which I added (I think) so
> > that we could instantiate gtkmm GTypes rather than GTK+ GTypes. This
> > allows GladeXml to delegate the decision to the language binding, which
> > can override that vfunc.
> > 
> 
> Is that vfunc still necessary,

Yes. I don't know of any alternative with libglade.

>  I'd like, if possible to avoid adding this
> method to the GtkBuilder API, but I can add one if there's no other
> practical way of solving that problem in gtkmm.

I'm sure that this is necessary for other language bindings. I do wonder
what pygtk does. I assume that it also needs to instantiate derived
GTypes.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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