Hi! I'm a newbie in this mailing list. I encountered problem after pygtk is
installed on my machine. I wish someone could help me. Thank you!

I'm using linux. The glib and gtk+ installed is version 1.2.10. Python is
2.0.1. And pygtk is 0.6.8 downloaded from ftp.gtk.org.

I've installed pygtk. But I couldn't run any of the testing programs in
examples/simple directory. When I run hello1.py. It said their is no
gtk_window_new function.

I typed 'python' in the shell and then 'import _gtk'. It succeeded silently.
Then I typed dir(_gtk) but couldn't find 'gtk_window_new' in the output.
When I type _gtk.gtk_window_new, it print 'AttributeError: gtk_window_new'

Then I searched the string 'gtk_window_new' in the file 'gtkmodule.c' but
find there isn't this string at all.

Why? I think I made some mistake. I wish there is someone could help me.
Thank you very much!


Chen

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to