Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

tk_menuBar (1t)

Name

tk_menuBar - Obsolete support for menu bars

Synopsis

tk_menuBar frame ?menu menu ...?

tk_bindForTraversal arg arg ...

Description

tk_menuBar(1t)               Tk Built-In Commands               tk_menuBar(1t)



______________________________________________________________________________

NAME
       tk_menuBar, tk_bindForTraversal - 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 man-
       age pulldown menus and to implement keyboard traversal of menus.  In Tk
       4.0 and later releases they are no longer needed.  Stubs for these pro-
       cedures 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.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | runtime/tk-8     |
       +---------------+------------------+
       |Stability      | Uncommitted      |
       +---------------+------------------+

SEE ALSO
       menu(n), toplevel(n)

KEYWORDS
       keyboard traversal, menu, menu bar, post



NOTES
       Source code for open source software components in Oracle  Solaris  can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source        was        downloaded        from         https://source-
       forge.net/projects/tcl/files/Tcl/8.6.7/tk8.6.7-src.tar.gz/download.

       Further information about this software can be found on the open source
       community website at https://www.tcl.tk/.



Tk                                                              tk_menuBar(1t)