O'Reilly logo

Mac Programming for Absolute Beginners by Wallace Wang

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 21. Creating Pull-Down Menus

The simplest user interface might consist of a window with a few buttons or check boxes on the screen. However, there's a limit to the number of options you can cram inside a window. Eventually, you may want to organize commands in categories and display those categories of commands in pull-down menus at the top of the screen.

Pull-down menus enable you to store and organize multiple commands, yet keep them tucked out of sight until the user actually needs them. In addition to menus, you can create submenus. You can also assign shortcut keystrokes to specific menu commands. By designing a pull-down menu for your program, you can simplify your user interface and provide a consistent Mac look and feel for your ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required