Re: cocoa-dev digest, Vol 1 #640 - 16 msgs
Re: cocoa-dev digest, Vol 1 #640 - 16 msgs
- Subject: Re: cocoa-dev digest, Vol 1 #640 - 16 msgs
- From: Mike Margolis <email@hidden>
- Date: Fri, 28 Sep 2001 12:06:31 -0700
I am trying to port a Tcl/tk app to OS X using cocoa... and I have 2
questions.
1) I was wondering about integrating Tcl/tk code into the app as a
view. I know there are OpenGLViews, QuickDrawViews, QuartzViews... is
it possible to have something like a Tcl/tk view? Even if this is not
the right solution to my problem, I would still love to see Tcl/tk
running in a MacOS X view...
2) The program uses Tcl/tk files which are interpreted at runtime to
draw graphics to the screen. These files are loaded in when you need
them, and in theory, you should be able to open one up and start using
that as a source to draw. I could port these modules to Cocoa, but I
was wondering if it would be possible to have these modules be
pre-compiled, sit in a folder, and when the application runs - load
these in as needed? I was hoping I could make them accept messages like
a regular obj-c class and all of these modules would accept the same
messages, so the application wouldn't even know anything changed. Is
this difficult to do?
Thanks,
Mike Margolis