summaryrefslogtreecommitdiffstats
path: root/doc/menu.n
diff options
context:
space:
mode:
authortmh <tmh>2001-10-12 13:30:31 (GMT)
committertmh <tmh>2001-10-12 13:30:31 (GMT)
commitba36251fdc6516f75fa02474f0a31c29564eb5e8 (patch)
treef0a41bc451b44d520db4074ba5b826c8c8d8b723 /doc/menu.n
parenta1cfa0e20447bf430b9de5fd5addea3462789474 (diff)
downloadtk-ba36251fdc6516f75fa02474f0a31c29564eb5e8.zip
tk-ba36251fdc6516f75fa02474f0a31c29564eb5e8.tar.gz
tk-ba36251fdc6516f75fa02474f0a31c29564eb5e8.tar.bz2
implementation of TIP 63 (accepted) -compound option to menu items.
Diffstat (limited to 'doc/menu.n')
-rw-r--r--doc/menu.n13
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/menu.n b/doc/menu.n
index 352dbc4..0bdd2f1 100644
--- a/doc/menu.n
+++ b/doc/menu.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: menu.n,v 1.5 2001/08/01 16:21:11 dgp Exp $
+'\" RCS: @(#) $Id: menu.n,v 1.6 2001/10/12 13:30:31 tmh Exp $
'\"
.so man.macros
.TH menu n 4.1 Tk "Tk Built-In Commands"
@@ -427,6 +427,17 @@ menu.
Specifies a Tcl command to execute when the menu entry is invoked.
Not available for separator or tear-off entries.
.TP
+.VS 8.4
+.fB\-compound \fIvalue\fR
+Specifies whether the menu entry 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 button will display either an image or
+text, depending on the values of the \fB\-image\fR and \fB\-bitmap\fR
+options.
+.VE
+.TP
\fB\-font \fIvalue\fR
Specifies the font to use when drawing the label or accelerator
string in this entry.