[pygtk] unable to find gtk.py file

Johan Dahlin jdahlin at async.com.br
Thu Jun 14 23:26:42 WST 2007


varun_shrivastava wrote:
> hi
> 
> i checked through all the posts in this forum regarding the same
> and __init.pyc__  exist in my machine
> and all pygtk programs work but i want to look at
> gtk.py file, that i m unable to locate on my machine

There is no gtk.py file.

> i want to see the pygtk hierarchy implemented.

The absolute majority of the gtk module is implemented as an
extension module, eg in C and not in Python.

It's a rather complicated process which uses a code generator
make the work easier.

You can find the sources here;
http://svn.gnome.org/viewcvs/pygtk/trunk/gtk

-- 
Johan Dahlin <jdahlin at async.com.br>
Async Open Source


More information about the pygtk mailing list