summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2008-12-15 16:17:18 (GMT)
committerdgp <dgp@users.sourceforge.net>2008-12-15 16:17:18 (GMT)
commitb4a8fbc74c92487a934fefac4dd1714f5e3a7c43 (patch)
tree1a0bd6ea21b759eeccc91bff26f0d16b003e034e /doc
parent8a0ee3044dcf44cad09d73c42001ad793d9adf42 (diff)
downloadtk-b4a8fbc74c92487a934fefac4dd1714f5e3a7c43.zip
tk-b4a8fbc74c92487a934fefac4dd1714f5e3a7c43.tar.gz
tk-b4a8fbc74c92487a934fefac4dd1714f5e3a7c43.tar.bz2
TIP #338 IMPLEMENTATION
* doc/Tk_Main.c: Removed the last two '#include "tclInt.h"'. * generic/tkMain.c: Tk is now limited to Tcl's public interface. * macosx/tkMacOSXInit.c:
Diffstat (limited to 'doc')
-rw-r--r--doc/Tk_Main.38
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/Tk_Main.3 b/doc/Tk_Main.3
index 31e3723..3c8da3f 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.7 2008/06/30 22:57:02 dkf Exp $
+'\" RCS: @(#) $Id: Tk_Main.3,v 1.8 2008/12/15 16:17:18 dgp Exp $
'\"
.so man.macros
.TH Tk_Main 3 4.0 Tk "Tk Library Procedures"
@@ -57,5 +57,11 @@ typedef int \fBTcl_AppInitProc\fR(
\fIAppInitProc\fR is almost always a pointer to \fBTcl_AppInit\fR;
for more details on this procedure, see the documentation
for \fBTcl_AppInit\fR.
+.PP
+\fBTk_Main\fR functions much the same as \fBTcl_Main\fR. In particular,
+\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.
.SH KEYWORDS
application-specific initialization, command-line arguments, main program