Name
NSStatusBar — Mac OS X 10.0
Synopsis
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
:.
|
@interface NSStatusBar : NSObject
|
// Class Methods
|
+ (NSStatusBar*)systemStatusBar;
|
// Instance Methods
|
- (BOOL) isVertical;
|
- (float) thickness;
|
- (void)removeStatusItem:(NSStatusItem*)item; |
- (NSStatusItem*)statusItemWithLength:(float)length; |
Get Cocoa in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.