Ben wrote: > Hi all, > > I am curious about one thing. I have been doing research on gui > programming. One thing that I don't understand is why there are some > examples uses threading in the gui examples. Is there any benefits or > advantages for using the threading in the gui programming? Thanks.
This is commonly done when a user action starts some kind of processing that will take some time. In order for the GUI to remain responsive, the long process must be in a different thread. In general, the GUI will not respond to new input until the event handler for the user action returns. Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor