summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortmh <tmh>2002-12-18 21:46:48 (GMT)
committertmh <tmh>2002-12-18 21:46:48 (GMT)
commit5fbcfccc760db156e8af892d84ce61106b5c12e7 (patch)
treea88f37d520dd4bb8931ada95ab1d795efa4f73a5
parent3544fef80025750fad6b89bead7b984feed5afa1 (diff)
downloadtk-5fbcfccc760db156e8af892d84ce61106b5c12e7.zip
tk-5fbcfccc760db156e8af892d84ce61106b5c12e7.tar.gz
tk-5fbcfccc760db156e8af892d84ce61106b5c12e7.tar.bz2
label docs failed to mention the -compound option
-rw-r--r--ChangeLog5
-rw-r--r--doc/label.n10
2 files changed, 14 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1202dce..7cff06c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-12-18 Todd M. Helfter <tmh@purdue.edu>
+ * doc/label.n: Fixed documentation of the -compound option to
+ the label widget. The option was simply missing from the
+ man page [Bug 577540]
+
2002-12-17 Donal K. Fellows <fellowsd@cs.man.ac.uk>
* doc/photo.n: Fixed documentation of the put subcommand to no
diff --git a/doc/label.n b/doc/label.n
index 179e8f7..4b53889 100644
--- a/doc/label.n
+++ b/doc/label.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: label.n,v 1.5 2000/08/25 06:58:32 ericm Exp $
+'\" RCS: @(#) $Id: label.n,v 1.6 2002/12/18 21:46:48 tmh Exp $
'\"
.so man.macros
.TH label n 4.0 Tk "Tk Built-In Commands"
@@ -26,6 +26,14 @@ label \- Create and manipulate label widgets
\-disabledforeground \-padx
.SE
.SH "WIDGET-SPECIFIC OPTIONS"
+.OP \-compound compound Compound
+Specifies whether the label should display both an image and text,
+and if so, where the image should be placed relative to the text.
+Valid values for this option are \fBbottom\fR, \fBcenter\fR,
+\fBleft\fR, \fBnone\fR, \fBright\fR and \fBtop\fR. The default value
+is \fBnone\fR, meaning that the label will display either an image or
+text, depending on the values of the \fB\-image\fR and \fB\-bitmap\fR
+options.
.OP \-height height Height
Specifies a desired height for the label.
If an image or bitmap is being displayed in the label then the value is in