summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorfvogel <fvogel@noemail.net>2016-03-07 21:10:15 (GMT)
committerfvogel <fvogel@noemail.net>2016-03-07 21:10:15 (GMT)
commitd9df9a1365b317ff6a542c97450f15fff7ab7d4a (patch)
tree0f2ce54afe09556f41daee9acbdbfbc0a5f66a25 /doc
parent9f1f6013e2575cd6fa211c3333b4d3f754723fb4 (diff)
parent15f1e40ff1ff7bec8b7dd329cd34b3ea740d7ab1 (diff)
downloadtk-d9df9a1365b317ff6a542c97450f15fff7ab7d4a.zip
tk-d9df9a1365b317ff6a542c97450f15fff7ab7d4a.tar.gz
tk-d9df9a1365b317ff6a542c97450f15fff7ab7d4a.tar.bz2
Fixed bug [841280] - spinbox -from and -to defaults and behaviour
FossilOrigin-Name: 27510927e90849cea2eee70889e004bf583b800f
Diffstat (limited to 'doc')
-rw-r--r--doc/spinbox.n6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/spinbox.n b/doc/spinbox.n
index 330bb17..e030aa3 100644
--- a/doc/spinbox.n
+++ b/doc/spinbox.n
@@ -54,7 +54,8 @@ as it will format a floating-point number.
A floating-point value corresponding to the lowest value for a spinbox, to
be used in conjunction with \fB\-to\fR and \fB\-increment\fR. When all
are specified correctly, the spinbox will use these values to control its
-contents. This value must be less than the \fB\-to\fR option.
+contents. If this value is greater than the \fB\-to\fR option, then
+\fB\-from\fR and \fB\-to\fR values are automatically swapped.
If \fB\-values\fR is specified, it supersedes this option.
.OP "\-invalidcommand or \-invcmd" invalidCommand InvalidCommand
Specifies a script to eval when \fB\-validatecommand\fR returns 0. Setting
@@ -83,7 +84,8 @@ be displayed in a different color, depending on the values of the
A floating-point value corresponding to the highest value for the spinbox,
to be used in conjunction with \fB\-from\fR and \fB\-increment\fR. When
all are specified correctly, the spinbox will use these values to control
-its contents. This value must be greater than the \fB\-from\fR option.
+its contents. If this value is less than the \fB\-from\fR option, then
+\fB\-from\fR and \fB\-to\fR values are automatically swapped.
If \fB\-values\fR is specified, it supersedes this option.
.OP \-validate validate Validate
Specifies the mode in which validation should operate: \fBnone\fR,