The GDMainMenuController is controller you can use to manage the main menu in the application. More...
#import <GDMainMenuController.h>
Public Member Functions | |
| (void) | - invalidate |
| A hook to invalidate the main menu. | |
Protected Attributes | |
| NSMenu * | mainMenu |
| A reference to the applications main menu. | |
The GDMainMenuController is controller you can use to manage the main menu in the application.
When your application changes, or intoduces some state that requires the menu to update, you should trigger an "invalidate" call. This controller should then ask views, controllers, etc in the app about their state, and update the main menu as needed.
| - (void) invalidate |
A hook to invalidate the main menu.