summaryrefslogtreecommitdiffstats
path: root/doc/spinbox.n
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-02-25 14:40:12 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-02-25 14:40:12 (GMT)
commite353dfd7b77de377b5475b760d286a0990958dd6 (patch)
tree039efe1806ca6290bb2cc672030b093b35f9edad /doc/spinbox.n
parent612675a4f57c40b222eccf363977705fbdd848aa (diff)
downloadtk-e353dfd7b77de377b5475b760d286a0990958dd6.zip
tk-e353dfd7b77de377b5475b760d286a0990958dd6.tar.gz
tk-e353dfd7b77de377b5475b760d286a0990958dd6.tar.bz2
Fixed bug [841280] - spinbox -from and -to defaults and behaviourbug_841280ffff
Diffstat (limited to 'doc/spinbox.n')
-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,