summaryrefslogtreecommitdiffstats
path: root/doc/menubutton.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-11-01 10:59:40 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-11-01 10:59:40 (GMT)
commit83f6db972b3cbb518343cf41b23e9bf959339e8b (patch)
treea9fdb782fb5a267cd0d5385c6d95aae6bd26fe13 /doc/menubutton.n
parent3ab66bf90c3de1b2ffe2c7eef83f56e189c02337 (diff)
downloadtk-83f6db972b3cbb518343cf41b23e9bf959339e8b.zip
tk-83f6db972b3cbb518343cf41b23e9bf959339e8b.tar.gz
tk-83f6db972b3cbb518343cf41b23e9bf959339e8b.tar.bz2
Make documentation use the name that scripts use as much as possible.
[Bug 1640073]
Diffstat (limited to 'doc/menubutton.n')
-rw-r--r--doc/menubutton.n9
1 files changed, 2 insertions, 7 deletions
diff --git a/doc/menubutton.n b/doc/menubutton.n
index 8aa18de..ae3de7e 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.8 2007/10/29 16:04:13 dkf Exp $
+'\" RCS: @(#) $Id: menubutton.n,v 1.9 2007/11/01 10:59:42 dkf Exp $
'\"
.so man.macros
.TH menubutton n 4.0 Tk "Tk Built-In Commands"
@@ -69,7 +69,6 @@ for text it is in characters.
If this option is not specified, the menubutton's desired width is computed
from the size of the image or bitmap or text being displayed in it.
.BE
-
.SH INTRODUCTION
.PP
The \fBmenubutton\fR command creates a new window (given by the
@@ -107,7 +106,6 @@ new menubutton is posted instead.
There are several interactions between menubuttons and menus; see
the \fBmenu\fR manual entry for information on various menu configurations,
such as pulldown menus and option menus.
-
.SH "WIDGET COMMAND"
.PP
The \fBmenubutton\fR command creates a new Tcl command whose
@@ -140,7 +138,6 @@ modifies the given widget option(s) to have the given value(s); in
this case the command returns an empty string.
\fIOption\fR may have any of the values accepted by the \fBmenubutton\fR
command.
-
.SH "DEFAULT BINDINGS"
.PP
Tk automatically creates class bindings for menubuttons that give them
@@ -190,9 +187,7 @@ actions occur: the menubutton is completely non-responsive.
.PP
The behavior of menubuttons can be changed by defining new bindings for
individual widgets or by redefining the class bindings.
-
.SH "SEE ALSO"
-ttk_menubutton(n), menu(n)
-
+ttk::menubutton(n), menu(n)
.SH KEYWORDS
menubutton, widget