User`s guide

6 Lay Out a GUIDE GUI
Context Menus
A co ntext menu is displayed w he n a user right-clicks the object for which the
menuisdefined. TheMenuEditorenablesyoutodefinecontextmenusand
associate them with objects in the layout. The process has three steps:
1 “Create the Parent Menu” on page 6-114
2 “Add Items to the Context Menu” on page 6-116
3 “Associate the Con tex t M enu with an Object” o n pa g e 6-12 0
Note See “Menus for the Menu Bar” on page 6-102 for information about
defining menus in general. See “Menu Item ” on page 8-59 for information
about defining callback subfunctions for your menus.
Create the Par ent Menu
All items in a context menu are children of a menu that is not displayed on
the figure menu bar. To define the parent menu:
6-114