Albert Schlef wrote:

>   root = TkRoot.new
>   .....set up the window.....
>   Tk.mainloop

> HOWEVER, the next time I try to bring up the window, Tk gives the
> following error:
> 
>   can't invoke "frame" command:  application has been destroyed
> (RuntimeError)


Now here's a blast from the past:

         def maybeMainloop(reveal = false)
             if reveal then
                 Tk.mainloop()
                 Tk.restart()
                 @canvas = nil
             end
         end

Notice I was using 4-space indentations back then! Always remember that 
following community standards, such as Ruby's Official 2-space indentations, is 
much MUCH more important than producing lots of boring original research!

-- 
   Phlip