GDMainMenuController Class Reference

The GDMainMenuController is controller you can use to manage the main menu in the application. More...

#import <GDMainMenuController.h>

List of all members.

Public Member Functions

(void) - invalidate
 A hook to invalidate the main menu.

Protected Attributes

NSMenu * mainMenu
 A reference to the applications main menu.

Detailed Description

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.


Member Function Documentation

- (void) invalidate  

A hook to invalidate the main menu.

See also:
GDDocument

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator Properties Defines