From: Alexandre F. <ale...@gm...> - 2008-12-11 14:08:30
|
On Thu, Dec 11, 2008 at 12:21 PM, Jan Nijtmans <jan...@gm...> wrote: > > This way wish is just a > small application, linked with two libraries > (libtcl and libtk), calling one Tcl function > in libtcl (Tcl_CreateInterp), and another > function in libtk (Tk_MainEx) to handle > everything that needs to be done as > part of the initialization. All remaining > thing are done through the stub mechanism. BTW, on a Win32 (mingw) build of wish at least, TK_USE_STUB is not used. So only the Tcl stub table (to which Tk_MainEx doesn't belong) is meaningful in this description. However, nothing prevents the existence of wishlike apps which do use Tk Stubs, provided they call Tk_InitStubs early enough that the tkStub->tk_MainEx be valid. -Alex |