summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2004-06-21 14:45:52 (GMT)
committerdkf <dkf@noemail.net>2004-06-21 14:45:52 (GMT)
commite29a089888b6a5e90eb3a64ae0535a659a7f3b14 (patch)
tree8039538cb6863ace65bbc0c29f9843d686272b8d /doc
parent075e0b7602905392215812cfa58347498ef9b04d (diff)
downloadtk-e29a089888b6a5e90eb3a64ae0535a659a7f3b14.zip
tk-e29a089888b6a5e90eb3a64ae0535a659a7f3b14.tar.gz
tk-e29a089888b6a5e90eb3a64ae0535a659a7f3b14.tar.bz2
Added crossreference to toplevel's -menu option, as used since Tk 8.0
FossilOrigin-Name: 327a4d8a06959d431cfe004e14ac4aaef7274ec8
Diffstat (limited to 'doc')
-rw-r--r--doc/menubar.n9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/menubar.n b/doc/menubar.n
index bedd287..f4b98af 100644
--- a/doc/menubar.n
+++ b/doc/menubar.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: menubar.n,v 1.2 1998/09/14 18:22:57 stanton Exp $
+'\" RCS: @(#) $Id: menubar.n,v 1.3 2004/06/21 14:45:52 dkf Exp $
'\"
.so man.macros
.TH tk_menuBar n "" Tk "Tk Built-In Commands"
@@ -28,6 +28,13 @@ longer needed. Stubs for these procedures have been retained for
backward compatibility, but they have no effect. You should remove
calls to these procedures from your code, since eventually the
procedures will go away.
+.PP
+From Tk 8.0 onwards, you should instead construct your menubar as a
+normal \fBmenu\fR and then attach it to the \fBtoplevel\fR of your
+choice using the \fB\-menu\fR option of that widget.
+
+.SH "SEE ALSO"
+menu(n), toplevel(n)
.SH KEYWORDS
keyboard traversal, menu, menu bar, post