From: Kero van Gelder Date: 2001-11-02T09:26:14+09:00 Subject: [ruby-talk:24128] Re: ruby/tk > I have the windows pragmatic progamers version installed. Ruby 1.6.5, > cygwin. Why does a tk program run once then nothing that uses tk will > work until ruby is closed and restarted or in some cases win 98 is > restarted? Well, the Tk thread dies when the Tk part ends. So you need to restart the thread. I got it restarted by "load tk.rb" and (re)starting an application (including the Tk thread). I lost quite a bit of memory in the process, so you don't want to repeat this too often. Why this is, I don't know. +--- Kero ------------------------------ kero@chello.nl ---+ | Don't split your mentality without thinking twice | | Proud like a God -- Guano Apes | +--- M38c ------- http://members.chello.nl/~k.vangelder ---+