Hi,
I just came in to the list so I hope I'm not off base in understanding
the problem:
> [ how to use latest PyGTK on a system with 2.0 also installed ]
Try doing the following:
1) Install your new pygtk to some prefix
2) Add /prefix/lib/python2.3/site-packages in your PYTHONPATH
3) cd /prefix/lib/python2.3/site-packages ; ln -s gtk-2.0 gtk-2.4
4) Finally, in your Python code, import the gtk related modules like
this:
import pygtk
pygtk.require('2.4')
import gtk, gtk.glade, gobject
This is what works on my Debian sarge/sid systems using PyGTK 2.3.96
while still having the python2.3-gtk2 package installed. Also, I'm
using Debian's packages for the glade-2 executable and libglade2.
Is there any reason the latest PyGTK releases don't already install to
the gtk-2.4/ subdirectory? It seems to me that is the right thing to
do.
HTH,
-Brett.
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/