Hello,

Thank you all for the helpful information.  I tried using

> main_shell=Py_Shell.Shell_Gui(with_window=0)
> xml.get_widget("vpaned1").add2(main_shell.gui)

but only got the frame "Interactive Python Shell" with a grey interior. 
I do not get the text entry window at all.  (When I run Py_Shell.py
stand-alone, it is fine.)  

I saw Jan's message about importing pygtk as well, so I got
pygtk-2.0.0.tar from ftp://ftp.gtk.org/pub/gtk/python/v2.0 and installed
it. (but is it necessary if I can run Py_Shell.py fine stand-alone?) 
However, I get the following error.  Am I missing some other
installation?

>>> import pygtk
>>> pygtk.require('2.0')
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "pygtk.py", line 73, in require
    assert versions.has_key(version), \
AssertionError: required version '2.0' not found on system


thank you!
~ Yang



_______________________________________________
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