Re: Pure Tk

new topic     » goto parent     » topic index » view thread      » older message » newer message

At 10:08 AM 4/15/98 +-900, Michael J. Sabal wrote:

>You probably will never find a "pure" version.  Tk is an extension of Tcl,
specifically designed to interface with GUIs.  While Tcl and Tk have
separate names, like EX and EXW, they are basically inseparable.  I don't
know how it works in MS land, but in Linux it requires a special shell to
use.  That might make implementation a bit difficult.  C and ASM code can be
accessed on the system level, so using DLL's or inline ASM code at runtime
is no problem.  If anyone knows of a compilable or "straight" version of
Tcl/Tk, it could be well worth the effort.
>
From what I've been able to tell from the windoz TK/TCL, it uses
a small (about 8k) interpreter (shell) to interpret the text scripts.
Presumably this interpreter calls routines in the lib files (100 - 400k)
You can see the routine names (hundreds) with a text editor, and
there is a book available with details about calling these routines
via a C program.
My guess is that a Euphoria include file could be written to interface
with this library also -- converting Euphoria i/o to c function calls, and
adding all the windoz management functions.

Irv

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu