- experimental 8.7.0~a5-1
|tk_menuBar(3tk)||Tk Built-In Commands||tk_menuBar(3tk)|
NAME¶tk_menuBar, tk_bindForTraversal - Obsolete support for menu bars
SYNOPSIS¶tk_menuBar frame ?menu menu ...?
tk_bindForTraversal 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(3tk), toplevel(3tk)
KEYWORDS¶keyboard traversal, menu, menu bar, post