From: Chris Thomas Date: 2003-08-03T13:45:16+09:00 Subject: Re: Ruby 1.8.0 and Mac OS X and Tcl/Tk 8.4 Aqua (not!) > I read sources for MacOS X on Tcl/Tk8.4.4. But I couldn't understand > the reason of the trouble. Although I thought that the trouble is based > on the fail to treat events properly, I couldn't find the code which is > the reason of the trouble. Probably because you don't have access to that code. :) I went down this path with RubyCocoa a while back. If I recall correctly, if you want to handle UI events in Mac OS X, the executable must reside within an application package/bundle. I filed a bug with Apple at the time, but I don't know the current status (ie, whether or not this has changed in Panther). Chris On Saturday, August 2, 2003, at 7:52 PM, Hidetoshi NAGAI wrote: > Hi, > > From: Mike Hall > Subject: Ruby 1.8.0 and Mac OS X and Tcl/Tk 8.4 Aqua (not!) > Date: Sun, 3 Aug 2003 04:21:58 +0900 > Message-ID: >> My trials with Ruby and Tcl/Tk on Mac OS X > (snip) >> (4) So, I run 'demo/lines1.rb', and a big window comes up, with the >> translucent blue button in the Aqua style that says 'Draw'. >> Looks good, >> but there are a few problems: >> >> - every click in the window gives: "SetFrontProcess failed, >> -606" >> - the window cannot be dragged >> - the window cannot be closed, neither from the title bar, >> nor with a ^ or ^\ from the shell (a 'kill' from another >> window >> works OK, though) > > I read sources for MacOS X on Tcl/Tk8.4.4. But I couldn't understand > the reason of the trouble. Although I thought that the trouble is based > on the fail to treat events properly, I couldn't find the code which is > the reason of the trouble. > I have no chance to use MacOS X. So I cannot test to find the reason. > I have not enough time to fix the trouble before Ruby 1.8.0 release. > I'm sorry but I'll not modify sources on Ruby1.8.0-release. > -- > Hidetoshi NAGAI > (nagai@ai.kyutech.ac.jp) >