From: Antonio Galeone Date: 2009-04-07T06:53:14+09:00 Subject: Re: Ruby/Tk refresh problem Have you tried "Tk.update" call ? Antonio Diego Virasoro wrote: > Hello, > I am using Ruby 1.8.7 with Tk. The code runs fine. However, a few > instructions that I set while the program is busy (basically before > starting heavy computation it sets a TkLabel to display "Busy"... and > once it's done it sets it back to "") do not seem to have much of an > effect. > > My fear is that it might be a problem like refreshing, whereby Tk > doesn't receive the instruction until it's too late. Is there a way to > flush all the instructions to Tk and let it do its magic before > continuing running my code? > > Thanks. > > Diego -- Posted via http://www.ruby-forum.com/.