Menu extra

From Wikipedia, the free encyclopedia

A Menu extra, menu item or status item in Mac OS X is a small icon or sometimes a word that appears at the right of the menu bar. They often provide quick ways to use applications (e.g. iChat) or display information (for example the system clock), or control system-level variables (for example the volume control). There are a number of third party menu items available. Menu extras are similar to items in the Microsoft Windows system tray but are less common.

There are many menu extras supplied with Mac OS X, most of which are activated from their parent application or via an external device being connected (for example, Inkwell will activate when a graphics tablet is connected to your computer). All supplied menu extras can be found in this folder: /System/Library/CoreServices/Menu Extras/.

Screenshot of menu items on Mac OS X v10.4.  From left to right, Synergy, Growl, Bluetooth, Apple Remote Desktop, iSync, AirPort, Volume, Battery, Clock and Fast User Switching.
Screenshot of menu items on Mac OS X v10.4. From left to right, Synergy, Growl, Bluetooth, Apple Remote Desktop, iSync, AirPort, Volume, Battery, Clock and Fast User Switching.

Menu extras were introduced with Mac OS X v10.1 and replaced Dock extras. There was some controversy when they were originally introduced. Although Apple provided an API for third-party developers to use to create menu extras using the NSStatusItem class, they used another private class called NSMenuExtra to develop their own menu extras. Menu extras based on NSMenuExtra automatically included a number of extra features not available to NSStatusItem-based extras, such as drag and drop install/uninstall and the ability to rearrange the extras using the mouse. The given reason for this is that NSMenuExtra-based menu extras operate within the address space of the SystemUIServer so faulty code in a menu extra could cause instability in a core part of the operating system.

[edit] External links

In other languages