Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

RE: A question about Tk.

by atl (Pilgrim)
on Oct 12, 2000 at 15:39 UTC ( [id://36374]=note: print w/replies, xml ) Need Help??


in reply to A question about Tk.

Quick help for the problem of never seeing "case 1": you need to tell the program to redraw the widget. One way (possibly not the best, but it works):
sub change { $LB->configure(-text=>'case 1'); $LB->update; sleep 3; $LB->configure(-text=>'case 2'); }
As for the problem of doing a longer job in the background while the GUI continues smoothly, I guess you'll have to programm a multitask/multiprocess script. How you do that depends on what exactly you want to do in the background job.

Have fun ...

Andreas

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-19 22:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found