summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorericm <ericm@noemail.net>2000-10-01 21:31:34 (GMT)
committerericm <ericm@noemail.net>2000-10-01 21:31:34 (GMT)
commit92b356ded1b1fd47903ca88c6ed7d804cf4c36bc (patch)
treeac6a7a75130d27feefe8fce4d0333c5f8d692013 /doc
parentec10f8a648b9f9772a3e79abfa0c806d4f53f45f (diff)
downloadtk-92b356ded1b1fd47903ca88c6ed7d804cf4c36bc.zip
tk-92b356ded1b1fd47903ca88c6ed7d804cf4c36bc.tar.gz
tk-92b356ded1b1fd47903ca88c6ed7d804cf4c36bc.tar.bz2
* doc/SetOptions.3: Added note that restoreProc and freeProc may
be NULL. * generic/tkConfig.c (Tk_RestoreSavedOptions): For custom options, added test that the restoreProc is not NULL, to allow for custom options that don't care about supporting Tk_RestoreSavedOptions. FossilOrigin-Name: 6032025460a72bbd2c54d805646f324f4973acef
Diffstat (limited to 'doc')
-rw-r--r--doc/SetOptions.36
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/SetOptions.3 b/doc/SetOptions.3
index 7bb8e51..7abc944 100644
--- a/doc/SetOptions.3
+++ b/doc/SetOptions.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: SetOptions.3,v 1.7 2000/09/29 17:55:30 ericm Exp $
+'\" RCS: @(#) $Id: SetOptions.3,v 1.8 2000/10/01 21:31:35 ericm Exp $
'\"
.so man.macros
.TH Tk_SetOptions 3 8.1 Tk "Tk Library Procedures"
@@ -555,7 +555,9 @@ for the custom option type; pointers to the four procedures; and a
\fIclientData\fR value to be passed to those procedures when they are
invoked. The \fIclientData\fR value typically points to a structure
containing information that is needed by the procedures when they are
-parsing and printing options.
+parsing and printing options. \fIRestoreProc\fR and \fIfreeProc\fR
+may be NULL, indicating that no function should be called for those
+operations.
.PP
The \fIsetProc\fR procedure is invoked by \fBTk_SetOptions\fR to
convert a Tcl_Obj into an internal representation and store the