From: Yuri Kozlov Date: 2005-12-07T22:12:35+09:00 Subject: Re: wxruby and threads Aha. Tkruby is much better. October 13, subject "threading in win32" by Ara.T.Howard require "tk" thread_runner = lambda do Thread::new do loop { puts 'hello' STDOUT.flush sleep(1) } end en TkButton::new(nil, "text" => "start thread/process", "command" => thread_runner).pack( "fill" =>"x") TkButton::new(nil, "text" => 'quit', "command" => lambda{exit}).pack("fill" => "x") Tk::mainloop The problem is solved. Regards, Yuri Kozlov