summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-23 16:15:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-23 16:15:35 (GMT)
commit2863744760a2d204f11ad4d334f7ba3eb0af8d15 (patch)
treef738b3064135ee01a64b9ba6444b39fde1beb208 /doc
parent2aec19553ad052d1f93e435021fe5e0e25df3efc (diff)
downloadtk-2863744760a2d204f11ad4d334f7ba3eb0af8d15.zip
tk-2863744760a2d204f11ad4d334f7ba3eb0af8d15.tar.gz
tk-2863744760a2d204f11ad4d334f7ba3eb0af8d15.tar.bz2
Document TK_OPTION_NULL_OK flags for TK_OPTION_BOOLEAN
Diffstat (limited to 'doc')
-rw-r--r--doc/SetOptions.34
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/SetOptions.3 b/doc/SetOptions.3
index f35d404..8eee22a 100644
--- a/doc/SetOptions.3
+++ b/doc/SetOptions.3
@@ -345,7 +345,9 @@ such as \fBTk_SetOptions\fR, and it supports the \fBTK_OPTION_NULL_OK\fR flag.
.TP
\fBTK_OPTION_BOOLEAN\fR
The value must be a standard boolean value such as \fBtrue\fR or
-\fBno\fR. The internal form is an integer with value 0 or 1.
+\fBno\fR. The internal form is an integer with value 0 or 1. This option
+type supports the \fBTK_OPTION_NULL_OK\fR flag; if a NULL value is set, the
+internal representation is set to -1.
.TP
\fBTK_OPTION_BORDER\fR
The value must be a standard color name such as \fBred\fR or \fB#ff8080\fR.