tk_menuBar - Man Page

Obsolete support for menu bars

Synopsis

tk_menuBar frame ?menu menu ...?

tk_bindForTraversal arg arg ...

Description

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.

From Tk 8.0 onwards, you should instead construct your menubar as a normal menu and then attach it to the toplevel of your choice using the -menu option of that widget.

See Also

menu(n), toplevel(n)

Keywords

keyboard traversal, menu, menu bar, post

Referenced By

The man page tk_bindForTraversal(n) is an alias of tk_menuBar(n).

Tk Built-In Commands