From: ruby talk Date: 2006-01-13T01:39:58+09:00 Subject: Re: TK custom events. ------=_Part_17523_18034113.1137083984449 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline What if i wanted to get the location of a file that i click and drag over lets say a TkButton? Becker On 1/12/06, PWR wrote: > > I'm wanting to do the following, > (1) Monitor an incoming socket with another thread and queue received > messages. > (2) Supply an event to the Tk mainloop when data arrives which causes > it to call a handler which reads the queued data. > > The idea is to avoid a solution which involves directly calling Tk > methods from the other thread in case there are any thread safety > issues. I may be being over cautious. > > Peter. > > > ------=_Part_17523_18034113.1137083984449--