summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorhobbs <hobbs>2004-02-04 00:25:13 (GMT)
committerhobbs <hobbs>2004-02-04 00:25:13 (GMT)
commitfce8017005bddb2d73de1dfbbd04832aee6b9f79 (patch)
tree91021c52219ef6493caa59f9d1cbfdec3183600d /doc
parent71039329de42d6a7cb67e58f6d440a4aab1e24b0 (diff)
downloadtk-fce8017005bddb2d73de1dfbbd04832aee6b9f79.zip
tk-fce8017005bddb2d73de1dfbbd04832aee6b9f79.tar.gz
tk-fce8017005bddb2d73de1dfbbd04832aee6b9f79.tar.bz2
* doc/menubutton.n:
* library/menu.tcl (::tk::MbPost): make menubuttons that post above or below reverse direction when not enough space is available.
Diffstat (limited to 'doc')
-rw-r--r--doc/menubutton.n6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/menubutton.n b/doc/menubutton.n
index 64cb5d7..8ae4fcf 100644
--- a/doc/menubutton.n
+++ b/doc/menubutton.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: menubutton.n,v 1.4 2001/05/21 14:07:32 tmh Exp $
+'\" RCS: @(#) $Id: menubutton.n,v 1.5 2004/02/04 00:25:13 hobbs Exp $
'\"
.so man.macros
.TH menubutton n 4.0 Tk "Tk Built-In Commands"
@@ -34,14 +34,14 @@ Valid values for this option are \fBbottom\fR, \fBcenter\fR,
is \fBnone\fR, meaning that the menubutton will display either an image or
text, depending on the values of the \fB\-image\fR and \fB\-bitmap\fR
options.
-.VS
.OP \-direction direction Height
Specifies where the menu is going to be popup up. \fBabove\fR tries to
pop the menu above the menubutton. \fBbelow\fR tries to pop the menu
below the menubutton. \fBleft\fR tries to pop the menu to the left of
the menubutton. \fBright\fR tries to pop the menu to the right of the
menu button. \fBflush\fR pops the menu directly over the menubutton.
-.VE
+In the case of \fBabove\fR or \fBbelow\fR, the direction will be
+reversed if the menu would show offscreen.
.OP \-height height Height
Specifies a desired height for the menubutton.
If an image or bitmap is being displayed in the menubutton then the value is in