Instance Method

sendActionOn:

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

Declaration

- (NSInteger)sendActionOn:(NSEventMask)mask;

Parameters

mask

Takes one or more of the following bit masks described in Getting Unicode Values section of the NSEvent class reference: NSLeftMouseUpMask, NSLeftMouseDownMask, NSLeftMouseDraggedMask, and NSPeriodicMask. Bitwise-OR multiple bit masks.

Return Value

A bit mask containing the previous settings. This bit mask uses the same values as specified in the mask parameter.

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

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

Deprecated