Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Tk::ProgressBar and threads

by Sandy (Curate)
on Dec 13, 2005 at 22:36 UTC ( [id://516459]=note: print w/replies, xml ) Need Help??


in reply to Tk::ProgressBar and threads

I'm not sure, but I think you need to update your main window in the sub 'updateScreen'. Updating your window is required if you want to update a progress bar.

sub updateScreen { my ($comm, $percent_done)=@_; ($percent_done = $comm->dequeue ) if $comm->pending; $mw->update(); # <--- update main window }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://516459]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-19 20:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found