Instance Method

drawStatusBarBackgroundInRect:withHighlight:

Draws the menu background pattern for a custom status-bar item in regular or highlight pattern.

Declaration

- (void)drawStatusBarBackgroundInRect:(NSRect)rect withHighlight:(BOOL)highlight;

Parameters

rect

A rectangle defining the area of a custom status-bar item.

highlight

YES to draw the background pattern in the standard highlight pattern, NO to not highlight the pattern.

Discussion

You can use this method to help a custom status-bar item emulate the behavior of a standard item.

See Also

Deprecated

enabled

A Boolean that indicates whether the status item is enabled to respond to clicks.

Deprecated
target

The target object to which the status item’s action message is sent when the status item is clicked.

Deprecated
action

The selector that is sent to the status item’s target when the status item is clicked.

Deprecated
doubleAction

The selector that is sent to the status item’s target when the status item is double-clicked.

Deprecated
- sendActionOn:

Sets the conditions on which the status item sends action messages to its target.

Deprecated
- popUpStatusItemMenu:

Displays a menu under a custom status bar item.

Deprecated
title

The string that is displayed at the status item’s position in the status bar.

Deprecated
attributedTitle

The attributed string that is displayed at the status item’s position in the status bar.

Deprecated
image

The image that is displayed at the status item’s position in the status bar.

Deprecated
alternateImage

The alternate image to be displayed when a status bar item is highlighted.

Deprecated
highlightMode

A Boolean that indicates whether the status item is highlighted when it is clicked.

Deprecated
toolTip

The tool tip string that is displayed when the cursor pauses over the status item.

Deprecated
view

The custom view that is displayed at the status item’s position in the status bar.

Deprecated