On Thu, Mar 11, 2004 at 11:20:55PM -0300, Alexandre Strube wrote:
> Em Qui, 2004-03-11 �s 22:18, Christian Robottom Reis escreveu:
> 
> > > > > libglade.GladeXML(file)
> > > > > gtk.glade.XML(file)
> > > > different "native" lib. Here you go, you don't care which one you need.
> > > What worries me is that I would have to convert functions from one to
> > > another on every different distro.
> > Hmm, what do you mean by "convert functions"? Different distro?
> 
> Means that if different linux/bsd distros, for instance, use different
> versions (take a look at two different lines of them on top of the mail,
> they do the same in different libraries) of glade library, would us have
> to write code for both?

Oh, sorry; to an extent you are correct. But, being a consequence of
moving from pygtk-0.6 to 2.0, this is only the tip of the iceberg -- FAQ
section 2 outlines other changes that are necessary when moving from one
version to the other.

Most recent distributions have adopted pygtk-2.x; older applications
written for pygtk-0.6.x still need the older version (though both
coexist nicely).

In summary, yes, you'd need to convert functions if you wanted to use
both PyGTK versions, but in practice, pygtk-2.x is what you should be
targetting (IOW, forget the old pygtk-0.6.x API).

> > > Libglade is from the guy who created PyGTK. In fact, it's hosted at the
> > > same place this list is. Ain't this ackward?
> > It's not awkward; it's a statement on how much greatness he has brought
> > upon the world.
> 
> Yes, but it looks like the libglade he wrote isn't the same actually
> used by us. At least with gtk2.

As a matter of fact, he wrote both versions. What we use are wrapped
versions of the C libglade libraries; and yes, he wrote the wrappers
too <wink>.

Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to