Tcl/Tk Menu Bar Library Module

The Tcl/Tk menubar library module has the file name menubar.tcl. This module contains a procedure that will create a base menu bar in an application.

Here is a list of procedures in the this module:

Module Dependencies

No other modules are required with this module.

Module Definition Files

This module does not require any definition files.

Module Procedures

createmenubar

Declaration  : proc createmenubar {toplevel menubar}
Parameters   :
      Name   : toplevel
      Type   : toplevel widget
Description  : name of toplevel widget

      Name   : menubar
      Type   : string
Description  : name of the new base menu bar

This procedure will create a base menu bar. The method used to create the menu bar is based on the version of Tk that is running.

Goto Top | Tcl Applications | Tcl Software Overview | Tcl Library Overview
| Future Lab Home | Contact Webmaster | Feedback

Copyright © 2006 Future Lab, Last Updated Jul 01, 2006