summaryrefslogtreecommitdiffstats
path: root/doc/menubutton.n
diff options
context:
space:
mode:
authorhobbs <hobbs>2004-02-04 00:25:13 (GMT)
committerhobbs <hobbs>2004-02-04 00:25:13 (GMT)
commit67f88c781e96b5caebb2fbcb571fdc84757e30cf (patch)
tree91021c52219ef6493caa59f9d1cbfdec3183600d /doc/menubutton.n
parent5bdc6946a1b2e3571728243c74ec0ca37e41ce3c (diff)
downloadtk-67f88c781e96b5caebb2fbcb571fdc84757e30cf.zip
tk-67f88c781e96b5caebb2fbcb571fdc84757e30cf.tar.gz
tk-67f88c781e96b5caebb2fbcb571fdc84757e30cf.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/menubutton.n')
-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