summaryrefslogtreecommitdiffstats
path: root/doc/menubar.n
blob: bb7c1a8ad42d14a18eaf05d3b515eed7eea1e6e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
'\" -*- nroff -*-

'\"
'\" Copyright (c) 1992 The Regents of the University of California.

'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.
'\"

'\" 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.4 2008/06/30 22:57:03 dkf Exp $

'\" 
.so man.macros
.TH tk_menuBar n "" Tk "Tk Built-In Commands"
.BS
'\" Note:  do not modify the .SH NAME line immediately below!

.SH NAME

tk_menuBar, tk_bindForTraversal \- Obsolete support for menu bars

.SH SYNOPSIS

\fBtk_menuBar \fIframe \fR?\fImenu menu ...\fR?

.sp

\fBtk_bindForTraversal \fIarg arg ... \fR

.BE

.SH DESCRIPTION

.PP

These procedures were used in Tk 3.6 and earlier releases to help

manage pulldown menus and to implement keyboard traversal of menus.

In Tk 4.0 and later releases they are no

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