summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-06-21 14:45:52 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-06-21 14:45:52 (GMT)
commit6f28cc4884370daadabed3fb3a5d097628fad17d (patch)
tree8039538cb6863ace65bbc0c29f9843d686272b8d
parentc307df3c6477192c328a7dc011ef0fc8c90f0319 (diff)
downloadtk-6f28cc4884370daadabed3fb3a5d097628fad17d.zip
tk-6f28cc4884370daadabed3fb3a5d097628fad17d.tar.gz
tk-6f28cc4884370daadabed3fb3a5d097628fad17d.tar.bz2
Added crossreference to toplevel's -menu option, as used since Tk 8.0
-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