summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-12-31 14:19:25 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-12-31 14:19:25 (GMT)
commit1be11c15e2d3b9bef59c8ec9ff1d67d6364cbdea (patch)
tree14382e145dd2d0c709382c1738041d352ad242d0 /doc
parent36fcca8bcc9687f4ce9d4d06dd27c98862c2d1f0 (diff)
downloadtk-1be11c15e2d3b9bef59c8ec9ff1d67d6364cbdea.zip
tk-1be11c15e2d3b9bef59c8ec9ff1d67d6364cbdea.tar.gz
tk-1be11c15e2d3b9bef59c8ec9ff1d67d6364cbdea.tar.bz2
Fix alphabetical order for the widget-specific options of ttk::progressbar and ttk:spinbox.
Diffstat (limited to 'doc')
-rw-r--r--doc/ttk_progressbar.n24
-rw-r--r--doc/ttk_spinbox.n22
2 files changed, 23 insertions, 23 deletions
diff --git a/doc/ttk_progressbar.n b/doc/ttk_progressbar.n
index 1945f70..96977a2 100644
--- a/doc/ttk_progressbar.n
+++ b/doc/ttk_progressbar.n
@@ -24,17 +24,24 @@ that something is happening.
\-style
.SE
.SH "WIDGET-SPECIFIC OPTIONS"
-.OP \-orient orient Orient
-One of \fBhorizontal\fR or \fBvertical\fR.
-Specifies the orientation of the progress bar.
.OP \-length length Length
Specifies the length of the long axis of the progress bar
(width if horizontal, height if vertical).
-.OP \-mode mode Mode
-One of \fBdeterminate\fR or \fBindeterminate\fR.
.OP \-maximum maximum Maximum
A floating point number specifying the maximum \fB\-value\fR.
Defaults to 100.
+.OP \-mode mode Mode
+One of \fBdeterminate\fR or \fBindeterminate\fR.
+.OP \-orient orient Orient
+One of \fBhorizontal\fR or \fBvertical\fR.
+Specifies the orientation of the progress bar.
+.OP \-phase phase Phase
+Read-only option.
+The widget periodically increments the value of this option
+whenever the \fB\-value\fR is greater than 0 and,
+in \fIdeterminate\fR mode, less than \fB\-maximum\fR.
+This option may be used by the current theme
+to provide additional animation effects.
.OP \-value value Value
The current value of the progress bar.
In \fIdeterminate\fR mode, this represents the amount of work completed.
@@ -47,13 +54,6 @@ The name of a global Tcl variable which is linked to the \fB\-value\fR.
If specified, the \fB\-value\fR of the progress bar is
automatically set to the value of the variable whenever
the latter is modified.
-.OP \-phase phase Phase
-Read-only option.
-The widget periodically increments the value of this option
-whenever the \fB\-value\fR is greater than 0 and,
-in \fIdeterminate\fR mode, less than \fB\-maximum\fR.
-This option may be used by the current theme
-to provide additional animation effects.
.SH "WIDGET COMMAND"
.PP
.TP
diff --git a/doc/ttk_spinbox.n b/doc/ttk_spinbox.n
index 92024c4..bf5968c 100644
--- a/doc/ttk_spinbox.n
+++ b/doc/ttk_spinbox.n
@@ -28,6 +28,17 @@ to a Tcl variable.
\-validate \-validatecommand
.SE
.SH "WIDGET-SPECIFIC OPTIONS"
+.OP \-command command Command
+Specifies a Tcl command to be invoked whenever a spinbutton is invoked.
+.OP \-increment increment Increment
+A floating\-point value specifying the change in value to be applied each
+time one of the widget spin buttons is pressed. The up button applies a
+positive increment, the down button applies a negative increment.
+.OP \-format format Format
+Specifies an alternate format to use when setting the string value
+when using the \fB\-from\fR and \fB\-to\fR range.
+This must be a format specifier of the form \fB%<pad>.<pad>f\fR,
+as it will format a floating-point number.
.OP \-from from From
A floating\-point value specifying the lowest value for the spinbox. This is
used in conjunction with \fB\-to\fR and \fB\-increment\fR to set a numerical
@@ -36,10 +47,6 @@ range.
A floating\-point value specifying the highest permissible value for the
widget. See also \fB\-from\fR and \fB\-increment\fR.
range.
-.OP \-increment increment Increment
-A floating\-point value specifying the change in value to be applied each
-time one of the widget spin buttons is pressed. The up button applies a
-positive increment, the down button applies a negative increment.
.OP \-values values Values
This must be a Tcl list of values. If this option is set then this will
override any range set using the \fB\-from\fR, \fB\-to\fR and
@@ -48,13 +55,6 @@ specified beginning with the first value.
.OP \-wrap wrap Wrap
Must be a proper boolean value. If on, the spinbox will wrap around the
values of data in the widget.
-.OP \-format format Format
-Specifies an alternate format to use when setting the string value
-when using the \fB\-from\fR and \fB\-to\fR range.
-This must be a format specifier of the form \fB%<pad>.<pad>f\fR,
-as it will format a floating-point number.
-.OP \-command command Command
-Specifies a Tcl command to be invoked whenever a spinbutton is invoked.
.SH "INDICES"
.PP
See the \fBttk::entry\fR manual for information about indexing characters.