> Is there a way to keep my window updated while my script waits for
> system("Install.exe") to finish.Here are the best two ways I can think of. Create a separate thread to do the system call, and leave one thread to do the GUI. Just watch out TK is very picky about threads, and where objects are destroyed. The other way which might work, is to make the window "on top" I remember somewhere you can specify to the window manager that nothing can come above you window. Check into that in the docs. While this is probably much simpler than the thread solution it might not work. HTH, -Wayne > -----Original Message----- > From: Anthony Okusanya [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 01, 2005 8:36 AM > To: [email protected] > Subject: PERL/TK GUI Refresh/Update help > > Hi all > I just finished a GUI based utility written in Perl/TK. I use this > utility to install > applications on servers. > The problem I have is that when an app is being installed, I have a dialog > box which is a top level widget with a ROText and a progress bar at the > bottom. > ISSUE: When my applications are being installed, any window that pops over > the dialog box has leaves its image on the box until the install is over > and the box refreshes with $T->update() > > Is there a way to keep my window updated while my script waits for > system("Install.exe") to finish. > > Many thanks in advance _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
