From: SpringFlowers AutumnMoon Date: 2007-09-24T06:46:39+09:00 Subject: how to use Ruby / Tk to display a text message status box how can we pop up a Tk window to display the temporary results of a program? If our program is running and displaying its intermediate calculations, instead of showing the final result at the end, i hope to have a Tk window just to show the semi-final results. would there be a simple way, just using a text box or something? right now i have: require 'tk' root = TkRoot.new {title "Ex1"} TkLabel.new(root) do text "Hello, world!" pack("padx"=> 15, "pady" => 15, "side" => "left") end Tk.mainloop [and my program] but the program won't run until i close the Tk window generated. -- Posted via http://www.ruby-forum.com/.