summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorfvogel <fvogel@noemail.net>2016-02-25 14:40:12 (GMT)
committerfvogel <fvogel@noemail.net>2016-02-25 14:40:12 (GMT)
commit15f1e40ff1ff7bec8b7dd329cd34b3ea740d7ab1 (patch)
tree039efe1806ca6290bb2cc672030b093b35f9edad /doc
parenta5264726ea786dba8c3299cd48fe24ab044c0f56 (diff)
downloadtk-15f1e40ff1ff7bec8b7dd329cd34b3ea740d7ab1.zip
tk-15f1e40ff1ff7bec8b7dd329cd34b3ea740d7ab1.tar.gz
tk-15f1e40ff1ff7bec8b7dd329cd34b3ea740d7ab1.tar.bz2
Fixed bug [841280] - spinbox -from and -to defaults and behaviour
FossilOrigin-Name: 396dcfce2c4135b7fb7569a654f394d595a69ee6
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,