next up previous contents
Next: Constructors Up: PopupMenu Previous: PopupMenu

Description

PopupMenu is used by the Mouse class, and perhaps other components. A PopupMenu contains a list of elements, which are used to create a menu of commands. There are two types of elements, `normal' elements which consist of a name and an associated text command, and `special' elements which modify the appearance or behavior of the menu. Each element has these characteristics:

A PopupMenu relies on a specific windowing system to provide the methods for creating, posting, and activating a menu. It contains a list of pop-up items, each item containing the characteristics listed above. A menu is a list of these, and has a name associated with the total list as well as with each item.



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