next up previous contents
Next: Suggestions for future changes/additions Up: PopupMenuItem Previous: Nonvirtual member functions

Method of use

The main place where this class is used is in PopupMenu, and also in Mouse. When an item is added to a menu, a new PopupMenuItem instance is created, of the requested type. The flags specified in the functions in PopupMenu for how to display the item (on/off, checked, etc) are set by calling the proper functions in the newly created item instance. Finally, when an item is selected by the user, the pointer to the item is returned to the Mouse object, which uses that item to find the text command to execute (if any).



Justin Gullingsrud
Tue Apr 6 09:26:48 CDT 1999