summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-03-07 21:10:15 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-03-07 21:10:15 (GMT)
commit0e4e2778068da247b591c03d482b78e9d22bd0a8 (patch)
tree0f2ce54afe09556f41daee9acbdbfbc0a5f66a25 /doc
parente97e9aead9bd1631f75f3778e3163251078de44e (diff)
parente353dfd7b77de377b5475b760d286a0990958dd6 (diff)
downloadtk-0e4e2778068da247b591c03d482b78e9d22bd0a8.zip
tk-0e4e2778068da247b591c03d482b78e9d22bd0a8.tar.gz
tk-0e4e2778068da247b591c03d482b78e9d22bd0a8.tar.bz2
Fixed bug [841280] - spinbox -from and -to defaults and behaviour
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,