summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-03-13 13:59:57 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-03-13 13:59:57 (GMT)
commitc1648c48e32da4bf83827f3a11abed72a94640c8 (patch)
tree0c86100a7254b7309cc9c030b1f96f1c54ba151c /doc
parent32b29153c1c63a7e08d4325c1fe68ae511a5ed36 (diff)
downloadtk-c1648c48e32da4bf83827f3a11abed72a94640c8.zip
tk-c1648c48e32da4bf83827f3a11abed72a94640c8.tar.gz
tk-c1648c48e32da4bf83827f3a11abed72a94640c8.tar.bz2
Document units for -length and -wraplength
Diffstat (limited to 'doc')
-rw-r--r--doc/ttk_progressbar.n3
-rw-r--r--doc/ttk_widget.n6
2 files changed, 5 insertions, 4 deletions
diff --git a/doc/ttk_progressbar.n b/doc/ttk_progressbar.n
index 33da815..6967bd4 100644
--- a/doc/ttk_progressbar.n
+++ b/doc/ttk_progressbar.n
@@ -33,7 +33,8 @@ then these options are ignored.
.SH "WIDGET-SPECIFIC OPTIONS"
.OP \-length length Length
Specifies the length of the long axis of the progress bar
-(width if horizontal, height if vertical).
+(width if horizontal, height if vertical). The value may have any of the forms
+acceptable to \fBTk_GetPixels\fR.
.OP \-maximum maximum Maximum
A floating point number specifying the maximum \fB\-value\fR.
Defaults to 100.
diff --git a/doc/ttk_widget.n b/doc/ttk_widget.n
index 3d3d52e..7a770cc 100644
--- a/doc/ttk_widget.n
+++ b/doc/ttk_widget.n
@@ -130,9 +130,9 @@ If zero or unspecified, the natural width of the text label is used.
Note that some themes may specify a non-zero \fB\-width\fR
in the style.
.OP \-wraplength wrapLength WrapLength
-Specifies the maximum line length (in pixels).
-If this option is less than or equal to zero,
-then automatic wrapping is not performed; otherwise
+Specifies the maximum line length. The value may have any of the forms
+acceptable to \fBTk_GetPixels\fR. If this option is less than or equal
+to zero, then automatic wrapping is not performed; otherwise
the text is split into lines such that no line is longer
than the specified value.
.SH "COMPATIBILITY OPTIONS"