This program:
#!/bin/env python
import gtk
def hello_cb(button):
print "Hello World"
window.destroy()
window = gtk.Window(gtk.WINDOW_TOPLEVEL) # create a top level window
# never gets past here.
Produces this message:
window = gtk.Window(gtk.WINDOW_TOPLEVEL) # create a top level window
AttributeError: 'module' object has no attribute 'Window'
I've searched the pygtk archives, reinstalled pygtk and libgtk to no
avail. Help! I'm out of time and out of ideas.
Mark Mason
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/