diff options
author | donal.k.fellows@manchester.ac.uk <dkf> | 2005-11-22 11:59:04 (GMT) |
---|---|---|
committer | donal.k.fellows@manchester.ac.uk <dkf> | 2005-11-22 11:59:04 (GMT) |
commit | 20ea339692e9c90fe33d8d53e804f91705e4bf3e (patch) | |
tree | 6324655727a7fa434f6b0168097c7f77e19f31ec /doc/GetFont.3 | |
parent | f7acf13fe64a7fbddbaaa2012ff92b44b583925a (diff) | |
download | tk-20ea339692e9c90fe33d8d53e804f91705e4bf3e.zip tk-20ea339692e9c90fe33d8d53e804f91705e4bf3e.tar.gz tk-20ea339692e9c90fe33d8d53e804f91705e4bf3e.tar.bz2 |
Fix [Bug 1151523] the non-embarrasing way!
Diffstat (limited to 'doc/GetFont.3')
-rw-r--r-- | doc/GetFont.3 | 7 |
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. |