summaryrefslogtreecommitdiffstats
path: root/doc/GetFont.3
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2005-11-22 11:59:04 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2005-11-22 11:59:04 (GMT)
commit00e7db48f071fe5c9fb63e4fa98af91f765948fe (patch)
tree6324655727a7fa434f6b0168097c7f77e19f31ec /doc/GetFont.3
parent0413253535483006c8686520a48238a8983fa3a5 (diff)
downloadtk-00e7db48f071fe5c9fb63e4fa98af91f765948fe.zip
tk-00e7db48f071fe5c9fb63e4fa98af91f765948fe.tar.gz
tk-00e7db48f071fe5c9fb63e4fa98af91f765948fe.tar.bz2
Fix [Bug 1151523] the non-embarrasing way!
Diffstat (limited to 'doc/GetFont.3')
-rw-r--r--doc/GetFont.37
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/GetFont.3 b/doc/GetFont.3
index 7ac8429..d344b1e 100644
--- a/doc/GetFont.3
+++ b/doc/GetFont.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: GetFont.3,v 1.7 2005/08/18 18:41:18 dkf Exp $
+'\" RCS: @(#) $Id: GetFont.3,v 1.8 2005/11/22 11:59:04 dkf Exp $
'\"
.so man.macros
.TH Tk_AllocFontFromObj 3 8.1 Tk "Tk Library Procedures"
@@ -37,7 +37,8 @@ void
.SH ARGUMENTS
.AS "const char" *tkfont
.AP "Tcl_Interp" *interp in
-Interpreter to use for error reporting. Must not be NULL.
+Interpreter to use for error reporting. If \fBNULL\fR, then no error
+messages are left after errors.
.AP Tk_Window tkwin in
Token for window in which font will be used.
.AP Tcl_Obj *objPtr in/out
@@ -63,7 +64,7 @@ the documentation for the \fBfont\fR command for a description of the
valid formats. If \fBTk_AllocFontFromObj\fR is unsuccessful (because,
for example, \fIobjPtr\fR did not contain a valid font specification) then it
returns \fBNULL\fR and leaves an error message in \fIinterp\fR's result
-if \fIinterp\fR isn't NULL. \fBTk_AllocFontFromObj\fR caches
+if \fIinterp\fR isn't \fBNULL\fR. \fBTk_AllocFontFromObj\fR caches
information about the return
value in \fIobjPtr\fR, which speeds up future calls to procedures
such as \fBTk_AllocFontFromObj\fR and \fBTk_GetFontFromObj\fR.