summaryrefslogtreecommitdiffstats
path: root/tkcon/docs/nontcl.html
blob: 47dbbe9b3f8addf9f8dab7ee64e5bc10fefa85fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<HTML>
<HEAD>
<TITLE>tkcon for Non-Tcl Users</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="./style.css">
</HEAD>

<BODY BGCOLOR=#FFFFFF>

<TABLE WIDTH=100% BORDER=0 CELLSPACING=2 CELLPADDING=0 BGCOLOR=#000000><TR><TD>
<!-- start header info -->
<TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=#FFFFFF>
<TR>
<TH><FONT SIZE=+3>tkcon: Non-Tcl Usage</FONT></TH>
<TD align=right>
<A href="http://tkcon.sourceforge.net/"> 
<IMG src="http://sourceforge.net/sflogo.php?group_id=11462&type=1" width="88"
height="31" border="0" alt="SourceForge Logo"></A>
</TD>
</TR>
</TABLE>
<!-- end header info -->

</TD></TR><TR><TD>
<!-- start main navigation table -->
<TABLE BORDER=1 CELLPADDING=2 CELLSPACING=2 BGCOLOR=#CCCCCC width=100%>
<TR>
<TH><A HREF="index.html">Documentation</A></TH>
<TH><A HREF="purpose.html">Purpose &amp; Features</A></TH>
<TH><A HREF="limits.html">Limitations</A></TH>
<TH><A HREF="todo.html">To&nbsp;Do</A></TH>
<TH><A HREF="license.terms">License</A></TH>
</TR><TR>
<TH COLSPAN=2><A HREF="plugin.html">Online Demo</A>
(requires <A HREF="http://www.tcl.tk/software/plugin/">Tk plugin</A>)</TH>
<TH COLSPAN=3 CLASS="hi"><A HREF="nontcl.html" CLASS="hi">Using TkCon with other Tk Languages</A></TH>
</TR>
</TABLE>
<!-- end main navigation table -->

</TD></TR><TR><TD BGCOLOR=#FFFFFF>
<DIV CLASS="indent">
<I>This document is for those users who are trying to use TkCon with a
non-Tcl based Tk language (ie - SchemeTk, PerlTk, PythonTk...).</I>
 <P>

TkCon requires <A HREF="http://tcl.activestate.com/">Tcl/Tk 8.4+</A> to
run.  However, it can attach to any language with Tk4+
embedded into it with the use of the Tk 'send' command.  I have been able
to succesfully talk to SchemeTk-3.0 and Perl/Tk.  When using TkCon attached
to these interpreters, you must remember to talk to the connected
interpreter in its language.
 <P>
I welcome further comments from users of Tk-embedded languages on their
experiences or ideas.  Of course, you can always try to port TkCon in full
to your language.  I'd like to see the results from any such efforts.
 <P>

<H3>Special Language Notes:</H3>

<H4>Perl Tk</H4>

Read the man page on Perl/Tk's send command.  You have to define Tk::Receive
before it will work.
<A HREF="mailto:lusol@turkey.cc.lehigh.edu">Stephen Lidie
(lusol@Turkey.CC.Lehigh.EDU)</A> contributed
a <A HREF="perl.txt">companion Perl/Tk program</A> that does the trick with
some extras.
</DIV>
</TD></TR></TABLE>

<HR NOSHADE SIZE=1>
<ADDRESS><FONT SIZE=2>&copy; Jeffrey Hobbs</FONT></ADDRESS>

</BODY>
</HTML>