SubMenuHelp
Earlier in this chapter, we discussed the need for the enterprise framework to provide a number of core menu bars that incorporate commonly used functionality. One such menu bar is the Help menu, which is handled by the SubMenuHelp class, the code for which is described in the following sections.
create-menubar
The {create-menubar} method defines the menu items available when the user clicks the application Help menu. Figure 9-8 lists the code required.
The {create-menubar} method contains the code that defines the appearance and processing instructions for the individual elements of the Help menu bar. It creates a SubMenu labeled Help and two menu elements labeled Application Help and About. Looking closer at the code within the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access