summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2003-06-23 21:27:56 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2003-06-23 21:27:56 (GMT)
commitedc0b0eed5666acae801e952c5cd3c6bcd5fca8a (patch)
treeb5e2d479b19b959a1a4294fc5ab271991b070c1d /doc
parenta577b700081eed8aa4df896f66e1091160a91623 (diff)
downloadtcl-edc0b0eed5666acae801e952c5cd3c6bcd5fca8a.zip
tcl-edc0b0eed5666acae801e952c5cd3c6bcd5fca8a.tar.gz
tcl-edc0b0eed5666acae801e952c5cd3c6bcd5fca8a.tar.bz2
* doc/dde.n: Committed TIP #120 which provides the
* win/tclWinDde.c: dde package for safe interpreters. * tests/winDde.test: Incremented package version to 1.2.4 * library/dde/pkgIndex.tcl:
Diffstat (limited to 'doc')
-rw-r--r--doc/dde.n12
1 files changed, 9 insertions, 3 deletions
diff --git a/doc/dde.n b/doc/dde.n
index c28c26f..b826732 100644
--- a/doc/dde.n
+++ b/doc/dde.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: dde.n,v 1.9 2003/05/16 22:00:47 patthoyts Exp $
+'\" RCS: @(#) $Id: dde.n,v 1.10 2003/06/23 21:27:56 patthoyts Exp $
'\"
.so man.macros
.TH dde n 1.2 dde "Tcl Bundled Packages"
@@ -17,7 +17,7 @@ dde \- Execute a Dynamic Data Exchange command
.sp
\fBpackage require dde 1.2\fR
.sp
-\fBdde \fIservername\fR ?\fI-exact\fR? ?\fI--\fR? ?\fItopic\fR?
+\fBdde \fIservername\fR ?\fI-exact\fR? ?\fI-handler proc\fR? ?\fI--\fR? ?\fItopic\fR?
.sp
\fBdde \fIexecute\fR ?\fI\-async\fR? \fIservice topic \fR?\fIdata\fR?
.sp
@@ -50,7 +50,7 @@ The \fBeval\fR and \fBexecute\fR commands accept the option \fB\-async\fR:
The following commands are a subset of the full Dynamic Data Exchange
set of commands.
.TP
-\fBdde servername \fR?\fI-exact\fR? ?\fI--\fR? ?\fItopic\fR?
+\fBdde servername \fR?\fI-exact\fR? ?\fI-handler proc\fR? ?\fI--\fR? ?\fItopic\fR?
\fBdde servername\fR registers the interpreter as a DDE server with
the service name \fBTclEval\fR and the topic name specified by \fItopic\fR.
If no \fItopic\fR is given, \fBdde servername\fR returns the name
@@ -60,6 +60,12 @@ suffix of the form ' #2' or ' #3' is appended to the name to make it
unique. The command's result will be the name actually used. The
\fI-exact\fR option is used to force registration of precisely the
given \fItopic\fR name.
+.IP
+The \fI-handler\fR option specifies a tcl procedure that will be called to
+process calls to the dde server. If the package has been loaded into a
+safe interpreter then a \fI-handler\fR procedure must be defined. The
+procedure is called with all the arguments provided by the remote
+call.
.TP
\fBdde execute\fR ?\fI\-async\fR? \fIservice topic data\fR
\fBdde execute\fR takes the \fIdata\fR and sends it to the server indicated