DekGenius.com
[ Team LiB ] Previous Section Next Section

NSStatusBar Mac OS X 10.0

This class defines the interface for the system status bar that appears on the right end of the main menu bar. The individual items in the status bar are instances of the class NSStatusItem. Clients obtain the shared system status bar instance using the class method systemStatusBar. Status items are created and added to a status bar by invoking the method statusItemWithLength:, and applications can remove status items that they have created by invoking removeStatusItem:.

figs/cocn_1592.gif

@interface NSStatusBar : NSObject
 // Class Methods
   + (NSStatusBar*)systemStatusBar;
 // Instance Methods
   - (BOOL) isVertical;
   - (float) thickness;
   - (void)removeStatusItem:(NSStatusItem*)item;
   - (NSStatusItem*)statusItemWithLength:(float)length;

    [ Team LiB ] Previous Section Next Section