MenuBarManager
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.
Class Variable
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, ...
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.