From: Jim I. <ji...@ap...> - 2001-10-23 00:25:07
|
All the initialization we do is in tclMacOSXAppInit.c, but you don't need to do some of it. The stuff in main, other than Tk_MacOSXSetupTkNotifier, and the call to Tk_Main, are just convenience bits I put in there to allow you a make "double-clickable app" out of a Tcl script without having to recompile anything. Then in TclAppInit, you don't need the console window stuff if you don't want it. Everything else is necessary, I think. Jim On Monday, October 22, 2001, at 04:54 PM, Tony Lownds wrote: > > Jim, if someone is trying to embed Tk/Aqua using a straightforward > approach of using Tcl_AppInit() and Tk_Main(), what extra calls (beyond > what's necessary in X11 Tcl/Tk) does one need to make? Everything in > tkMacOSXAppInit? Or just Tk_MacOSXSetupTkNotifier()? > > -- Jim Ingham ji...@ap... Developer Tools - gdb Apple Computer |