|
From: Jim I. <ji...@ap...> - 2004-01-27 01:11:59
|
Are you using a version of Tk that you built with the X11 libraries?
You can't mix the Tk that comes with the TclTkAquaBI with X11 code,
that is not going to work... OTOH, the X11 version of Tk should behave
much the same as on any other X11 platform.
Note also, because of the way the you have to start up Carbon, we don't
support autoloading Tk. It might be possible to do, I am not sure, but
it would not be easy...
Jim
On Jan 26, 2004, at 4:49 PM, John Seal wrote:
> When running X11 and tclsh8.4, how can I load Tk? [package require
> Tk] doesn't do it, and neither does [load {} Tk]. I've tried
> massaging the tcl_ and tk_ library and libPaths in various ways with
> no success.
>
> I'm developing an app that has to run either with or without a GUI, so
> we can't assume a valid DISPLAY when we start up.
>
> This is on Panther 10.3.2 with TclTkAquaBI8.4.4 installed, although
> I'm not certain that's what I'm getting when I invoke tclsh. "which
> tclsh" says /usr/bin/tclsh, which points to /usr/bin/tclsh8.4.
>
> Thanks.
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> Tcl-mac mailing list
> Tc...@li...
> https://lists.sourceforge.net/lists/listinfo/tcl-mac
>
--
Jim Ingham ji...@ap...
Developer Tools
Apple Computer
|