summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2010-01-13 13:27:50 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2010-01-13 13:27:50 (GMT)
commit126493018cc46f4e76a7c195eed0a3fcf75051b0 (patch)
tree1e15277deb538acd2550aa3fb201548cca6fe219 /doc
parentc1547652228ae39a5ec7441153b8e0e1cdc7b644 (diff)
downloadtk-126493018cc46f4e76a7c195eed0a3fcf75051b0.zip
tk-126493018cc46f4e76a7c195eed0a3fcf75051b0.tar.gz
tk-126493018cc46f4e76a7c195eed0a3fcf75051b0.tar.bz2
Small doc improvements to improve cross-links.
Diffstat (limited to 'doc')
-rw-r--r--doc/Tk_Main.38
-rw-r--r--doc/wish.16
2 files changed, 10 insertions, 4 deletions
diff --git a/doc/Tk_Main.3 b/doc/Tk_Main.3
index 3c8da3f..b0a3689 100644
--- a/doc/Tk_Main.3
+++ b/doc/Tk_Main.3
@@ -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: Tk_Main.3,v 1.8 2008/12/15 16:17:18 dgp Exp $
+'\" RCS: @(#) $Id: Tk_Main.3,v 1.9 2010/01/13 13:27:50 dkf Exp $
'\"
.so man.macros
.TH Tk_Main 3 4.0 Tk "Tk Library Procedures"
@@ -62,6 +62,10 @@ for \fBTcl_AppInit\fR.
\fBTk_Main\fR supports both an interactive mode and a startup script
mode, with the file name and encoding of a startup script under the
control of the \fBTcl_SetStartupScript\fR and \fBTcl_GetStartupScript\fR
-routines.
+routines. However it calls \fBTk_MainLoop\fR after processing any
+supplied script, and in interactive uses events registered with
+\fBTcl_CreateFileHandler\fR to process user input.
+.SH "SEE ALSO"
+Tcl_DoOneEvent(3)
.SH KEYWORDS
application-specific initialization, command-line arguments, main program
diff --git a/doc/wish.1 b/doc/wish.1
index c23fa57..25a6963 100644
--- a/doc/wish.1
+++ b/doc/wish.1
@@ -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: wish.1,v 1.12 2009/03/25 23:27:23 nijtmans Exp $
+'\" RCS: @(#) $Id: wish.1,v 1.13 2010/01/13 13:27:51 dkf Exp $
'\"
.so man.macros
.TH wish 1 8.0 Tk "Tk Applications"
@@ -63,7 +63,7 @@ language, the Tk toolkit, and a main program that reads commands
from standard input or from a file.
It creates a main window and then processes Tcl commands.
If \fBwish\fR is invoked with arguments, then the first few
-arguments, ?\fB\-encoding \fIname\fR? ?\fIfileName\fR? specify the
+arguments, ?\fB\-encoding \fIname\fR? ?\fIfileName\fR?, specify the
name of a script file, and, optionally, the
encoding of the text data stored in that script file. A value
for \fIfileName\fR is recognized if the appropriate argument
@@ -213,5 +213,7 @@ The variable \fBtcl_prompt2\fR is used in a similar way when
a newline is typed but the current command is not yet complete;
if \fBtcl_prompt2\fR is not set then no prompt is output for
incomplete commands.
+.SH "SEE ALSO"
+tclsh(1), toplevel(n), Tk_Main(3), Tk_MainLoop(3), Tk_MainWindow(3)
.SH KEYWORDS
shell, toolkit