From: Daniel A. S. <st...@ic...> - 2001-12-07 03:35:16
|
Jim, et al At 17:27 -0800 on 6/12/01, Jim Ingham wrote: >I know this. But you do have to figure out how to make an acceptable MacOS >X GUI app (acceptable to the Window Manager, that is). I was suggesting >this as the fastest way to figure out how to build one. It doesn't look >like any magic is getting done during the build phase, so it must be that >Carbon gets info that makes it happy from the App package during >initialization. You will either need to bundle ruby as a .app, or figure >out what you have to set to get Carbon happy, and add that to your require >"tk" stage.=A0 > >I don't know enough about this to tell you how to do this. Your best bet i= s >to write Apple's Carbon developer's mailing list with this question. >Someone there is bound to know the answer. > I have tried to find the minimal subset of conditions to make Carbon happy before and haven't found anything short of a more or less full app package that worked. in particular, from a single file MachO executable I don't seem to be able to satisfy Carbon's requirements to allow GUI to be brought up. this would be very desirable e.g. in the tcl/tk space for things like doing [package require Tk] from tclsh to bring up GUI only when needed (e.g. in exceptional/rare circumstances) without having to load wish from the outset. if anybody finds out if there is a programmatic way to convince Carbon to bring up the event loop in particular from a single file cli app, I'd be very interested... Cheers, Daniel -- ** Daniel A. Steffen ** "And now to something completely ** Department of Mathematics ** different" Monty Python ** Macquarie University ** <mailto:st...@ma...> ** NSW 2109 Australia ** <http://www.maths.mq.edu.au/~steffen/> |