From: Jon G. <jg...@hi...> - 2002-03-06 01:23:40
|
At 5:02 PM -0800 3/5/02, Jim Ingham wrote: >Yes, but if it is not safe, it is better to have a Tclae_SafeInit >that returns TCL_ERROR. That is positively stating that you are not >safe, rather than leaving it to someone to infer that you are. Ah, OK. We can do that. >This is not the way that it worked on 9, right. IIRC, you got a >high level event in your event queue, which you had to service to >get the event to be processed... Yep. Looks the same in X, too. I was just seeing a peculiarity of a self-addressed event. The AEM directs those straight to the handler, but everything else goes through the event loop, to be dispatched by AEProcessAppleEvent(). >You can do a PID to PSN translation, there is an API for this in >HIToolbox in Processes.h. But I bet that tclsh doesn't have a psn. >It isn't registered with the WindowServer yet... Looks like this won't buy us anything even if it works... I guess Wish (with Tcl rebuilt according to Daniel's instructions) is the way to go. -- Jonathan E. Guyer <http://www.his.com/jguyer/> |