in reply to running a loop in background...
You need to give Tk the opportunity to deal with updating windows and responding to events. Stick in one or more $MainWindow->Update; inside the various loops. Of course, your MainWindow object may not be named $MainWindow, but you get the idea. You might also want to look into $MainWindow->IdleTasks; which just deals with callsbacks. Both of the above are described in the Tk::Widget POD.
perl -e 'print "I love $^X$\"$]!$/"#$&V"+@( NO CARRIER'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: running a loop in background...
by Anonymous Monk on Sep 12, 2001 at 01:00 UTC | |
by Chmrr (Vicar) on Sep 12, 2001 at 01:12 UTC |