tk_menuBar man page

tk_menuBar, tk_bindForTraversal — Obsolete support for menu bars


tk_menuBar frame ?menu menu ...?

tk_bindForTraversal arg arg ...


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)


keyboard traversal, menu, menu bar, post

Referenced By

Explore man page connections for tk_menuBar(n).

tk_bindForTraversal(n), tk_bisque(n) and tk_setPalette(n) are aliases of tk_menuBar(n).

Tk Tk Built-In Commands