Instance Property

view

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

Declaration

@property(strong) NSView *view;

Discussion

Setting a custom view overrides all the other appearance and behavior settings defined by NSStatusItem. The custom view is responsible for drawing itself and providing its own behaviors, such as processing mouse clicks and sending action messages.

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
- drawStatusBarBackgroundInRect:withHighlight:

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

Deprecated