From c1648c48e32da4bf83827f3a11abed72a94640c8 Mon Sep 17 00:00:00 2001 From: fvogel Date: Mon, 13 Mar 2017 13:59:57 +0000 Subject: Document units for -length and -wraplength --- doc/ttk_progressbar.n | 3 ++- doc/ttk_widget.n | 6 +++--- 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" -- cgit v0.12