Why doesn't this work?
Michael Bakkemo
a at b.c
Wed Oct 2 05:55:08 EDT 2002
More information about the Python-list mailing list
Wed Oct 2 05:55:08 EDT 2002
- Previous message (by thread): wxpython problem
- Next message (by thread): PyGTK on Win32
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> > Because of the way Tk works. You are setting up a lot of things before > entering the mainloop(), and not giving Tk a chance to execute and > update it's internal state (not your fault, really). > > But to fix things, add the line: > > sc.update() > > Just before: > > rect = MovingRect(root, sc, 40,40, 10, 10) > > [...] > > Chad Netzer > cnetzer at mail.arc.nasa.gov Thank you. That would have taken forever to figure out.
- Previous message (by thread): wxpython problem
- Next message (by thread): PyGTK on Win32
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list