summaryrefslogtreecommitdiffstats
path: root/doc/TkInitStubs.3
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2010-01-04 22:06:47 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2010-01-04 22:06:47 (GMT)
commit4441ed9ba522a6ac303f5fece668096da1e4572f (patch)
tree5b0aaaa3c21590711a314c5c8414cb514fa9455f /doc/TkInitStubs.3
parenta8ccacbdfade151ad3f55b530a1841cdb78d7f47 (diff)
downloadtk-4441ed9ba522a6ac303f5fece668096da1e4572f.zip
tk-4441ed9ba522a6ac303f5fece668096da1e4572f.tar.gz
tk-4441ed9ba522a6ac303f5fece668096da1e4572f.tar.bz2
Bug 2192104: mention the USE_TK_STUBS macro in the man page
Diffstat (limited to 'doc/TkInitStubs.3')
-rw-r--r--doc/TkInitStubs.319
1 files changed, 11 insertions, 8 deletions
diff --git a/doc/TkInitStubs.3 b/doc/TkInitStubs.3
index fab5cf3..02cb4df 100644
--- a/doc/TkInitStubs.3
+++ b/doc/TkInitStubs.3
@@ -4,7 +4,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: TkInitStubs.3,v 1.9 2008/06/30 22:57:02 dkf Exp $
+'\" RCS: @(#) $Id: TkInitStubs.3,v 1.10 2010/01/04 22:06:47 patthoyts Exp $
'\"
.so man.macros
.TH Tk_InitStubs 3 8.4 Tk "Tk Library Procedures"
@@ -50,14 +50,17 @@ Tcl functions.
Call \fBTk_InitStubs\fR if the extension before calling any other
Tk functions.
.IP 2) 5
-Define the \fBUSE_TCL_STUBS\fR symbol. Typically, you would include the
-\fB\-DUSE_TCL_STUBS\fR flag when compiling the extension.
+Define the \fBUSE_TCL_STUBS\fR and the \fBUSE_TK_STUBS\fR
+symbols. Typically, you would include the \fB\-DUSE_TCL_STUBS\fR and
+the \fB\-DUSE_TK_STUBS\fR flags when compiling the extension.
.IP 3) 5
-Link the extension with the Tcl and Tk stubs libraries instead of
-the standard Tcl and Tk libraries. On Unix platforms, the library
-names are \fIlibtclstub8.4.a\fR and \fIlibtkstub8.4.a\fR; on Windows
-platforms, the library names are \fItclstub84.lib\fR and \fItkstub84.lib\fR
-(adjust names with appropriate version number).
+Link the extension with the Tcl and Tk stubs libraries instead of the
+standard Tcl and Tk libraries. On Unix platforms, the library names
+are \fIlibtclstub8.4.a\fR and \fIlibtkstub8.4.a\fR; on Windows
+platforms, the library names are \fItclstub84.lib\fR and
+\fItkstub84.lib\fR. Adjust the library names with appropriate version
+number but note that the extension may only be used with versions of
+Tcl/Tk that have that version number or higher.
.SH DESCRIPTION
.PP
\fBTk_InitStubs\fR attempts to initialize the Tk stub table pointers