SubMenuFile

Another typical menu is the File menu, and our enterprise framework will provide such a menu that features Print and Exit options. Figure 9-28 shows the code required in the {create-submenu} method.

The {create-menubar} method works in exactly the same way as the same method described in the SubMenuHelp class earlier in this chapter, so we will not review the code in detail again. The only difference is with the name of the menu items displayed and the local methods initiated when they are selected.

Figure 9-28. SubMenuFile.create-menubar method listing.
 ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| || File: SubMenuFile.scurl || Author: Paul Sheehan || Version: 1.0 || Contents: This class represents the File sub menu ...

Get Enterprise Curl now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.