first previous next last contents


menu_state_set menu_spec_variable mask ?pathname?

This command provides a combined interface to the menu_state_on and menu_state_off functions. The name of the global variable containing the menu specifications is passed over in the menu_spec_variable argument. This must have been set by using the set_menu command.

If the mask value is positive the menu_state_on command is called with this mask, otherwise the menu_state_off command is called with the absolute value of the mask.

Pathname specifies the root location of the menu widgets as given to a previous create_menus command.

first previous next last contents
This page is maintained by staden-package. Last generated on 1 March 2001.