From: Stuart Brand Date: 2006-06-23T03:44:17+09:00 Subject: Re: while in a tk mainloop > class foo > def initialize > #your tk code and while loop > end > end > foo.new > Tk.mainloop > Tait Pollard Hi Thanks, however, this does not work :( it only does the same as before, what if I start the Tk in a new thread? would this let it run independent of the main programme and then pass control back so the while loop can run? I will try this :) Many thanks Stuart -- Posted via http://www.ruby-forum.com/.