Grygonos has asked for the wisdom of the Perl Monks concerning the following question:
I have a script that will be used by our production area to produce reports based on client data. This client data may comprise 1 month, or 1 year. Regardless, the data must be imported by the production staff. When the users chooses to add dat,. a Tk::DialogBox is shown. The user then, selects a file and enters a unique id number for the data. Once the user clicks OK the file is processed and added to the block of data from which the reports will be produced. This data may take 10 to 15 minutes .. at most 30 minutes to import. What can I do to keep the user informed that the process is indeed still "working as intended" and not DoA. I have read that Tk is not thread safe, I assume since it has its own command loop and what not. How can I keep a small window open that lets the user know what kind of progress is being made on the data importation?
Thanks for your help,
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Keeping the user informed: A Tk/Threads question
by BrowserUk (Patriarch) on Jul 07, 2004 at 18:40 UTC | |
by Grygonos (Chaplain) on Jul 07, 2004 at 20:48 UTC | |
Re: Keeping the user informed: A Tk/Threads question
by Joost (Canon) on Jul 07, 2004 at 14:45 UTC | |
by Grygonos (Chaplain) on Jul 07, 2004 at 15:32 UTC | |
by Joost (Canon) on Jul 07, 2004 at 15:56 UTC | |
Re: Keeping the user informed: A Tk/Threads question
by BrowserUk (Patriarch) on Jul 07, 2004 at 15:35 UTC | |
Re: Keeping the user informed: A Tk/Threads question
by zentara (Archbishop) on Jul 08, 2004 at 14:36 UTC | |
Re: Keeping the user informed: A Tk/Threads question
by gri6507 (Deacon) on Jul 07, 2004 at 15:35 UTC |