I've been trying to learn how to use GTK in Python, but haven't managed to get past the 'Hello World' Example yet. Using the code below, I get the error:
'AttributeError: 'module' object has no attribute 'Window''
# example base.py
self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
if __name__ == "__main__":
base = Base()
I'm pretty sure I've got all the libraries I need installed (python-gtk2, all the gtk development libraries (I've coded in C with no problem), etc). I'm really stumped as to what is causing this error.
I'm using Debian Etch for the record.