- Hewlett-Packard Printer User Guide

Using the Integration Capabilities of the VPO Motif-based GUI
Integrating External Applications into the VPO GUI
Chapter 3146
Figure 3-27 VPO Multi-level Menus
For each new menu item, there must be a corresponding action or
sub-menu. You will need to use application registration files (ARFs)
to associate programs with menu selections.
Menus can be enabled or disabled depending on certain selection rules
which specify the type and number of nodes that must be selected in a
map window before a menu item becomes active. Inactive menus are
automatically “grayed out”.
Toolbars provide a quick, intuitive means of invoking actions. VPO
provides a default set of toolbars for invoking actions such as panning or
selecting the root map. When an application is added to a VPO
environment, it can add icons into existing toolbars, or create
window-specific toolbars and icons.
Menu and Toolbar items can be targeted for display on submaps based
on the purpose or context of the submap. Submaps can filter which menu
and toolbar items are actually visible. When a submap is created it
determines its context which is a list of identifiers. For example, a
particular submap intended for printer management might have a
context of wantPrinterMenus, NoGeneric. This submap context would
limit menu items and toolbar buttons to those that were targeted using
the wantPrinterMenus context identifier.