Hi Yang!
main_shell=Py_Shell.Shell_Gui(with_window=0)
> xml.get_widget("vpaned1").add2(main_shell.gui)
I've looked to my code, I think the solution is that you miss a
main_shell.gui.show_all()
In my code I call it with the empty frame, that's why you see only the
frame.
You ca fix it:
put line 313 " frame.show_all()" after line 314 "frame.add(box)"
> >>> 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
It seems that somethings is wrong with your configuration; are you sure
you have installed pygtk into the right location? The script doesn't
find the required version of pygtk
Hope this help!
Best regards!
Pier
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/