This document describes how menus and popup lists work and how you can use them.
This programming topic contains the following articles:
“How Menus Work” describes Cocoa’s classes for managing menus.
“Enabling Menu Items” describes how to enable and disable menu items.
“Using Menu Item States” describes how to check and uncheck a menu item by changing its state.
“Removing a Menu” describes how to programmatically remove a menu from the menu bar.
“Setting a Menu Item’s Key Equivalent” describes how to assign a key equivalent to a menu item.
“Managing Pop-Up Buttons and Pull-Down Lists” describes how to work with pop-up buttons and pull-down lists.
“Displaying a Contextual Menu” describes how to display a contextual menu associated with a view.
“Views in Menu Items” describes how you can provide a menu item with a custom view.
Last updated: 2007-06-26