December 2002
Intermediate to advanced
400 pages
9h 25m
English
MenuBarManager is a service manager class that controls the appearance of an application menu and toolbar. It has functionality to create and consolidate the individual AppSubMenu classes involved in the visual representation of a menu and toolbar.
MenuBarManager has two class variables, one of which takes the form of the getter naming style. A getter is a private variable whose name is preceded by an underscore and has a corresponding method, named without the underscore, which returns a value. Figure 9-2 shows the code required.
The _menubar class variable is of type MenuBar, which is a Curl system class that has functionality to define and control a horizontal arrangement of pull-down menus. Within the framework, ...