summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-02 13:24:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-02 13:24:44 (GMT)
commit560a6d1d1e9ba0bb6a7232c74703ea1b0e089fdc (patch)
tree33027d2c711f70073dbf6b5b0d6bdf083375a84b /doc
parentb2dadc9cca46b6371ef584274bce66af634a89fb (diff)
downloadtk-560a6d1d1e9ba0bb6a7232c74703ea1b0e089fdc.zip
tk-560a6d1d1e9ba0bb6a7232c74703ea1b0e089fdc.tar.gz
tk-560a6d1d1e9ba0bb6a7232c74703ea1b0e089fdc.tar.bz2
More adaptations (use NaN/INT_MIN as internal representation)
Diffstat (limited to 'doc')
-rw-r--r--doc/SetOptions.36
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/SetOptions.3 b/doc/SetOptions.3
index 0daedee..2bc10c8 100644
--- a/doc/SetOptions.3
+++ b/doc/SetOptions.3
@@ -383,7 +383,7 @@ option type. See the section \fBCUSTOM OPTION TYPES\fR below for details.
The string value must be a floating-point number in
the format accepted by \fBstrtol\fR. The internal form is a C
\fBdouble\fR value. This option type supports the \fBTK_OPTION_NULL_OK\fR
-flag; if a NULL value is set, the internal representation is set to zero.
+flag; if a NULL value is set, the internal representation is set to NaN.
.TP
\fBTK_OPTION_END\fR
Marks the end of the template. There must be a Tk_OptionSpec structure
@@ -406,7 +406,7 @@ The string value must be an integer in the format accepted by
\fBstrtol\fR (e.g. \fB0\fR and \fB0x\fR prefixes may be used to
specify octal or hexadecimal numbers, respectively). The internal
form is a C \fBint\fR value. This option type supports the \fBTK_OPTION_NULL_OK\fR
-flag; if a NULL value is set, the internal representation is set to 0.0.
+flag; if a NULL value is set, the internal representation is set to INT_MIN.
.TP
\fBTK_OPTION_JUSTIFY\fR
The value must be a standard justification value such as \fBleft\fR.
@@ -423,7 +423,7 @@ distance in pixels, like the values returned by
used then information about the original value of this option will be lost.
See \fBOBJOFFSET VS. INTERNALOFFSET\fR below for details. This option
type supports the \fBTK_OPTION_NULL_OK\fR flag; if a NULL value is set, the
-internal representation is set to zero.
+internal representation is set to INT_MIN.
.TP
\fBTK_OPTION_RELIEF\fR
The value must be standard relief such as \fBraised\fR.