D
Diego Virasoro
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
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