tclXtSend - the Tk "send" protocol for Xt
int TclXtSend_RegisterInterp(interp, name, toplevel)
This registers an interpreter using the name name. The name must be
unique to the server. It takes a tcl interpreter and a toplevel widget
as additional arguments. This creates two commands within the
interpreter, send and interps.
The send command behaves like the send command for Tk: given an
interpreter name and a command, it executes the command in that
interpreter. The interpreter for the command may be the current
The interps command returns a list of interpreters currently known to the
server. Some of these may be dead. However, every registered interpreter
should be in this list. That is, it includes every known interpreter,
including some that no longer exist.
If the command succeeds in registering the interpreter under the name, it
returns TCL_OK. Otherwise it returns TCL_ERROR. A string containing error
information will be stored in interp->result.
See the book on Tcl/Tk by John Ousterhout, or the Tk doc for "send".
Jan Newmarch, University of Canberra
PPPPaaaaggggeeee 1111 [ Back ]