first previous next last contents

create_menus

create_menus menu_specs ?pathname?

Uses the menu specifications passed over in the menu_specs variable to create the main menubar. Pathname specifies the root Tk window pathname in which to create the menus. If this is not specified the Tk root (.) is used instead.

The menu specifications are created from processing the application rc file. The set_menu command is used to specify a Tcl variable to store these specifications in. The contents of this variable should be used as the menu_specs argument.



first previous next last contents
This page is maintained by staden-package. Last generated on 1 March 2001.
URL: http://www.mrc-lmb.cam.ac.uk/pubseq/manual/scripting_18.html