Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi Pals..... I have an issue with creating progressbar using Tk::ProgressBar. The issue goes like this:
My current application is already using Tk to display a window but my application consumes around one minute and finally displays the result in that window. It means that I am already calling MainLoop() to display this window which is an infinite loop. I want to display a progressbar for that one min gap. I am unable to use Tk::ProgressBar since calling MainLoop for progressbar will cause my application to stuck at that point. So , I guess i cannot call MainLoop twice in a single application.
To summarise: -> I need to display a progress bar before displaying my result window. Issue is , since I am already calling MainLoop for displaying window, I cannot use Tk::ProgressBar because it also needs MainLoop.
Thnx in advance.