I'm just getting started with PyGTK and have having some troubles right
off the bat.  I'm trying to run the following script but it keeps
reporting the error that GtkWindow is not defined.  I have Gtk and PyGtk
installed, what could I be missing?  I'm running on Redhat 8 with all
the latest packages.  Here's the following script I am trying.

#####
from gtk import *

win = GtkWindow()

def main():
        win.set_usize(300, 350)
        win.connect("destroy", mainquit)
        win.set_title("PyGTK Test")
        win.show()
        mainloop()

main()
#####

Thanks in advance,

~ Matthew Metnetsky

_______________________________________________
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