1 | <HTML> |
---|
2 | <HEAD> |
---|
3 | <TITLE>tkcon for Non-Tcl Users</TITLE> |
---|
4 | <LINK REL="STYLESHEET" TYPE="text/css" HREF="./style.css"> |
---|
5 | </HEAD> |
---|
6 | |
---|
7 | <BODY BGCOLOR=#FFFFFF> |
---|
8 | |
---|
9 | <TABLE WIDTH=100% BORDER=0 CELLSPACING=2 CELLPADDING=0 BGCOLOR=#000000><TR><TD> |
---|
10 | <!-- start header info --> |
---|
11 | <TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=#FFFFFF> |
---|
12 | <TR> |
---|
13 | <TH><FONT SIZE=+3>tkcon: Non-Tcl Usage</FONT></TH> |
---|
14 | <TD align=right> |
---|
15 | <A href="http://tkcon.sourceforge.net/"> |
---|
16 | <IMG src="http://sourceforge.net/sflogo.php?group_id=11462&type=1" width="88" |
---|
17 | height="31" border="0" alt="SourceForge Logo"></A> |
---|
18 | </TD> |
---|
19 | </TR> |
---|
20 | </TABLE> |
---|
21 | <!-- end header info --> |
---|
22 | |
---|
23 | </TD></TR><TR><TD> |
---|
24 | <!-- start main navigation table --> |
---|
25 | <TABLE BORDER=1 CELLPADDING=2 CELLSPACING=2 BGCOLOR=#CCCCCC width=100%> |
---|
26 | <TR> |
---|
27 | <TH><A HREF="index.html">Documentation</A></TH> |
---|
28 | <TH><A HREF="purpose.html">Purpose & Features</A></TH> |
---|
29 | <TH><A HREF="limits.html">Limitations</A></TH> |
---|
30 | <TH><A HREF="todo.html">To Do</A></TH> |
---|
31 | <TH><A HREF="license.terms">License</A></TH> |
---|
32 | </TR><TR> |
---|
33 | <TH COLSPAN=2><A HREF="plugin.html">Online Demo</A> |
---|
34 | (requires <A HREF="http://tcl.activestate.com/software/plugin/">Tk plugin</A>)</TH> |
---|
35 | <TH COLSPAN=3 CLASS="hi"><A HREF="nontcl.html" CLASS="hi">Using TkCon with other Tk Languages</A></TH> |
---|
36 | </TR> |
---|
37 | </TABLE> |
---|
38 | <!-- end main navigation table --> |
---|
39 | |
---|
40 | </TD></TR><TR><TD BGCOLOR=#FFFFFF> |
---|
41 | <DIV CLASS="indent"> |
---|
42 | <I>This document is for those users who are trying to use TkCon with a |
---|
43 | non-Tcl based Tk language (ie - SchemeTk, PerlTk, PythonTk...).</I> |
---|
44 | <P> |
---|
45 | |
---|
46 | TkCon requires <A HREF="http://tcl.activestate.com/">Tcl/Tk 8.0+</A> to |
---|
47 | run. However, it can attach to any language with Tk4+ |
---|
48 | embedded into it with the use of the Tk 'send' command. I have been able |
---|
49 | to succesfully talk to SchemeTk-3.0 and Perl/Tk. When using TkCon attached |
---|
50 | to these interpreters, you must remember to talk to the connected |
---|
51 | interpreter in its language. |
---|
52 | <P> |
---|
53 | I welcome further comments from users of Tk-embedded languages on their |
---|
54 | experiences or ideas. Of course, you can always try to port TkCon in full |
---|
55 | to your language. I'd like to see the results from any such efforts. |
---|
56 | <P> |
---|
57 | |
---|
58 | <H3>Special Language Notes:</H3> |
---|
59 | |
---|
60 | <H4>Perl Tk</H4> |
---|
61 | |
---|
62 | Read the man page on Perl/Tk's send command. You have to define Tk::Receive |
---|
63 | before it will work. |
---|
64 | <A HREF="mailto:lusol@turkey.cc.lehigh.edu">Stephen Lidie |
---|
65 | (lusol@Turkey.CC.Lehigh.EDU)</A> contributed |
---|
66 | a <A HREF="perl.txt">companion Perl/Tk program</A> that does the trick with |
---|
67 | some extras. |
---|
68 | </DIV> |
---|
69 | </TD></TR></TABLE> |
---|
70 | |
---|
71 | <HR NOSHADE SIZE=1> |
---|
72 | <ADDRESS><FONT SIZE=2>© |
---|
73 | <A HREF="mailto:jeff.hobbs@acm.org">Jeffrey Hobbs</A></FONT></ADDRESS> |
---|
74 | |
---|
75 | </BODY> |
---|
76 | </HTML> |
---|