summaryrefslogtreecommitdiffstats
path: root/doc/ttk_label.n
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ttk_label.n')
-rw-r--r--doc/ttk_label.n37
1 files changed, 12 insertions, 25 deletions
diff --git a/doc/ttk_label.n b/doc/ttk_label.n
index 271c711..49f6d6c 100644
--- a/doc/ttk_label.n
+++ b/doc/ttk_label.n
@@ -10,7 +10,7 @@
.SH NAME
ttk::label \- Display a text string and/or image
.SH SYNOPSIS
-\fBttk::label\fR \fIpathName \fR?\fIoptions\fR?
+\fBttk::label\fI pathName \fR?\fIoptions\fR?
.BE
.SH DESCRIPTION
.PP
@@ -18,31 +18,17 @@ A \fBttk::label\fR widget displays a textual label and/or image.
The label may be linked to a Tcl variable
to automatically change the displayed text.
.SO ttk_widget
-\-class \-compound \-cursor
-\-image \-padding \-state
-\-style \-takefocus \-text
-\-textvariable \-underline \-width
+\-anchor \-class \-compound
+\-cursor \-font \-foreground
+\-image \-justify \-padding
+\-state \-style \-takefocus
+\-text \-textvariable \-underline
+\-width \-wraplength
.SE
.SH "WIDGET-SPECIFIC OPTIONS"
-.OP \-anchor anchor Anchor
-Specifies how the information in the widget is positioned
-relative to the inner margins. Legal values are
-\fBn\fR, \fBne\fR, \fBe\fR, \fBse\fR,
-\fBs\fR, \fBsw\fR, \fBw\fR, \fBnw\fR, and \fBcenter\fR.
-See also \fB\-justify\fR.
.OP \-background frameColor FrameColor
The widget's background color.
If unspecified, the theme default is used.
-.OP \-font font Font
-Font to use for label text.
-.OP \-foreground textColor TextColor
-The widget's foreground color.
-If unspecified, the theme default is used.
-.OP \-justify justify Justify
-If there are multiple lines of text, specifies how
-the lines are laid out relative to one another.
-One of \fBleft\fR, \fBcenter\fR, or \fBright\fR.
-See also \fB\-anchor\fR.
.OP \-relief relief Relief
.\" Rewrite this:
Specifies the 3-D effect desired for the widget border.
@@ -51,15 +37,16 @@ Valid values are
and \fBsunken\fR.
.OP \-wraplength wrapLength WrapLength
Specifies the maximum line length (in pixels).
-If this option is less than or equal to zero,
+If this option is negative or 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 "WIDGET COMMAND"
.PP
-Supports the standard widget commands
-\fBconfigure\fR, \fBcget\fR, \fBidentify\fR, \fBinstate\fR, and \fBstate\fR;
-see \fIttk::widget(n)\fR.
+Label widgets support the standard commands
+\fBcget\fR, \fBconfigure\fR, \fBidentify element\fR, \fBinstate\fR,
+\fBstate\fR and \fBstyle\fR
+(see \fBttk::widget\fR).
.SH "STYLING OPTIONS"
.PP
The class name for a \fBttk::label\fP is \fBTLabel\fP.