From: Ralf Fassel Date: 2003-05-29T22:01:19+09:00 Subject: Re: Tk - Restart after mainloop exits? * "Phlip" | top = TkRoot.new() | canvas = TkCanvas.new(top) {width(400);height(300) } ^^^ | TkcText.new(canvas, 100, 200) { text 'hello world' } | canvas.grid | | top.protocol('WM_DELETE_WINDOW', proc{puts 'huh?'}) | | Tk.mainloop | canvas = TkCanvas.new() {width(400); height(300) } ^ Shouldn't there be something in there? Maybe you need to set up a new `top' after Tk.mainloop returns? But I don't really know that specific programming language you're using there, so no further input from me I'm afraid :-/ R'