Re: GtkBuildable type resolver
- From: Murray Cumming <murrayc murrayc com>
- To: Johan Dahlin <johan gnome org>
- Cc: Andy Wingo <wingo pobox com>, gtk-devel-list gnome org
- Subject: Re: GtkBuildable type resolver
- Date: Thu, 07 Jun 2007 09:01:20 +0200
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]