It appears that an X (as in X windows) version of tk will run on top of
XFree86 -- is that correct? When that happens, does it require that XFree86
"take over" the desktop, or does XFree86 merely run in the background and
display the tk window as it were a regular MacOS window?
I guess TkGS might ultimately solve this problem if an official (or
otherwise) alternative doesn't crop up, but TkGS seems to be months away
from being truly usable in a production environment.
--
Bryan Oakley
oak...@bardo.clearlight.com
I have compiled Tcl and Tk on Mac OS X. In fact, Tcl comes with the
standard developement CD. Tk works too, providing ...
> It appears that an X (as in X windows) version of tk will run on top of
> XFree86 -- is that correct? When that happens, does it require that XFree86
Yes, it's called XDarwin.
> "take over" the desktop, or does XFree86 merely run in the background and
> display the tk window as it were a regular MacOS window?
Either way - you get to choose.
> I guess TkGS might ultimately solve this problem if an official (or
> otherwise) alternative doesn't crop up, but TkGS seems to be months away
> from being truly usable in a production environment.
Check out;
http://www.Lehigh.EDU/~sol0/Macintosh/index.html
There are simplified instructions on how to get X11 running. Then goto:
And get XDarwin 1.0a1 and apply over the previous version - that provides
the rootless support. I just did that a few hours ago, so above page is
now out of date (will update tonight).
Steve
--
@_=map{eval"100${_}"}split/!/,'/5!*2!+$]!/10+$]';use Tk;$m=tkinit;$t='just an'.
'other perl hacker';$z='createText';$c=$m->Canvas(-wi,$_[1],-he,25)->grid;$c->$
z(@_[2,3],-te,$t,-fi,'gray50');$c->$z($_[2]-$],$_[3]-$],-te,$t);$m->bind('<En'.
'ter>',sub{$y=int(rand($m->screenheight));$m->geometry("+$y+$y")});MainLoop;
> Bryan Oakley <boa...@austin.rr.com> wrote:
>> What's the current state of Tk on MacOS X?
...
> Check out;
>
> http://www.Lehigh.EDU/~sol0/Macintosh/index.html
>
> There are simplified instructions on how to get X11 running. Then goto:
>
> http://www.mrcla.com/XonX/
>
> And get XDarwin 1.0a1 and apply over the previous version - that provides
> the rootless support. I just did that a few hours ago, so above page is
> now out of date (will update tonight).
All good advice.
There's a series of articles on macwrite.com giving instructions on
configuring X on MacOS X. In particular, it talks about using X rootless
under Aqua using a window manager called Oroborus. This gives a uniform
look and feel between the Aqua applications and X applications.
---
Steve Landers Scripting Design Studio
Digital Smarties st...@digital-smarties.com
Perth, Western Australia www.digital-smarties.com
Very interesting, and might be enough to get by until we have a fully
carbonized tk. The details of when or if that will happen are still a bit
sketchy, though.
>> There's a series of articles on macwrite.com giving instructions on
>> configuring X on MacOS X. In particular, it talks about using X rootless
>> under Aqua using a window manager called Oroborus. This gives a uniform
>> look and feel between the Aqua applications and X applications.
>
> Very interesting, and might be enough to get by until we have a fully
> carbonized tk.
I've found it to be more than adequate - to the extent I split my
development between Linux/KDE on my workstation and MacOS X on an iBook.
I typically use several X applications both locally on the iBook and also
tunnelled from the workstation using ssh (over an wireless network). These
applications include exmh, gimp and knode (see
http://www.digital-smarties.com/pub/macosx.jpg for a screen snapshot).
> I've found it to be more than adequate - to the extent I split my
> development between Linux/KDE on my workstation and MacOS X on an iBook.
"adequate" unfortunately is pretty far away from "suitable for a commercial
product". I'm trying to access the viability of developing (well, porting) a
commercial application built with tk to Mac OS X. Apparently, it's not yet
something that is possible.
IMO, it's a bit much to expect a potential user to have to jump through the
necessary hoops to get X up and running in order to run a tk based
application.
Thanks for your input though!