<popup>

This element defines a popup menu. A popup menu is a menu that expands when you left click its name. The File menu is an example of a popup menu. You can nest popup menus inside popup menus and toolbars. ScenomePlatform applications can nested popups extensively. This element must be closed.

NOTE: For simplicity's sake, the <popup> menu shown below does not contain any <item> elements. ScenomePlatform applications will not load an XML file that contains empty <popup> menus! You must have at least one valid <item> in each <popup>.

Attribute Value
name String, "&File".

Examples

Several examples are provided below.

  1. The following example shows how to define a <popup> element.
    <popup name="&File"><popup> <!-- The "&" defines the accelerator key. ALT + F in this case. -->
  2. The following example shows how to create a popup with nested popups that contain will commands to modify faces, edges, and vertices.
    <popup name="&Modify"> 
       <popup name="&Face">
       </popup>
       <popup name="&Edge">
       </popup> 
       <popup name="&Vertex">
       </popup> 
    </popup>
  3. The following example shows the resulting popup menu. This is the Modify popup menu.
  4. The following example shows the resulting popup menu in place. This is the Modify popup menu.