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.n20
1 files changed, 15 insertions, 5 deletions
diff --git a/doc/ttk_label.n b/doc/ttk_label.n
index 02f21eb..7a647bd 100644
--- a/doc/ttk_label.n
+++ b/doc/ttk_label.n
@@ -1,16 +1,23 @@
'\"
'\" Copyright (c) 2004 Joe English
'\"
+'\" See the file "license.terms" for information on usage and redistribution
+'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
+'\"
+'\" RCS: @(#) $Id: ttk_label.n,v 1.3 2006/12/13 23:04:33 hobbs Exp $
+'\"
.so man.macros
.TH ttk_label n 8.5 Tk "Tk Themed Widget"
.BS
+.\" Use _ instead of :: as the name becomes a filename on install
.SH NAME
-ttk::label \- Display a text string and/or image
+ttk_label \- Display a text string and/or image
.SH SYNOPSIS
\fBttk::label\fR \fIpathName \fR?\fIoptions\fR?
.BE
+
.SH DESCRIPTION
-A \fBlabel\fR widget displays a textual label and/or image.
+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
@@ -18,6 +25,7 @@ to automatically change the displayed text.
\-style \-takefocus \-text \-textvariable
\-underline \-width
.SE
+
.SH "WIDGET-SPECIFIC OPTIONS"
.OP \-anchor anchor Anchor
Specifies how the information in the widget is positioned
@@ -61,15 +69,17 @@ 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 "WIDGET COMMAND"
.TP
\fIpathName \fBcget\fR \fIoption\fR
.TP
\fIpathName \fBconfigure\fR ?\fIoption\fR? ?\fIvalue option value ...\fR?
.TP
-\fIpathName \fBinstate \fIstatespec\fR ?\fIscript\fR?
+\fIpathName \fBinstate \fIstateSpec\fR ?\fIscript\fR?
.TP
\fIpathName \fBstate\fR ?\fIstateSpec\fR?
-See \fIwidget(n)\fR
+See \fIttk_widget(n)\fR
+
.SH "SEE ALSO"
-widget(n)
+ttk_widget(n), label(n)