Chapter 3
Defining a Simple Menu
Shows how to define a GMS menu by cloning GMS template objects, linking them into a hierarchy that defines the structure of the menu, setting the attributes of the template objects, and defining the actions to be taken when each menu choice is made.
- Introduction
- Components of a Menu Specification
- Example of a GMS Menu Specification
- Displaying the GMS Palette
- Cloning Menu Templates
- Using Root Templates
- The Menu Bar Template
- The Popup Menu Template
- Using Entry Templates
- Cascade Menu Template
- Leaf Entry Template
- Using Connections
- Submenu Connection
- Peer Menu Connection
- Managing Connection Stubs
- Specifying Menu Properties
- Attributes of a Root Template
- Additional Attribute for Popup Menus
- Notes on the Root Template's Properties
- Attributes of a Menu Entry Template
- Additional Attribute of a Cascade Menu Template
- Additional Attributes of a Leaf Entry Template
- Accessing a Menu Entry's Properties Programmatically
- Accessing a Menu Entry's Label
- Specifying Menu Entry Initial States
- Checking and Unchecking Menu Entries
- Specifying the Effect of Choosing a Leaf Entry
Copyright © 1997 Gensym Corporation, Inc.