On Tue, 13 Mar 2001, Skip Montanaro wrote:
> I'm brand new to GTK and PyGTK, though I have a lot of Python experience and
> enough widget experience with Tkinter and Motif to understand most of GTK's
> concepts. I'm poking my way through the GTK tutorial at
>
> http://www.gtk.org/tutorial/
>
> but that doesn't seem to map quite one-to-one with
>
> from gtk import *
>
> (or does it and I haven't gotten far enough through it to make the
> connection yet?).
>
> I understand there are two interfaces exposed through PyGTK. Which bits of
> GTK documentation correspond to the more object-oriented gtk.py?
The procedural interface in _gtk (which is closer to the C API) will be
going away in the upgrade to gtk 2.0 (I am using a new code generator that
produces the object oriented wrapper directly, using ExtensionClass).
There is a fairly simple mapping between the C API and the object oriented
python API. The file MAPPING in the pygtk distribution should give enough
information about the mapping for the C GTK tutorial to be useful.
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk