Instance Property

needsDisplay

A Boolean value indicating whether the menu item needs to be displayed.

Declaration

@property BOOL needsDisplay;

Discussion

Set this property to YES when you want the menu item to be drawn.

See Also

Drawing the Menu Item

- drawBorderAndBackgroundWithFrame:inView:

Draws the borders and background associated with the receiver’s menu item (if any).

- drawImageWithFrame:inView:

Draws the image associated with the menu item.

- drawKeyEquivalentWithFrame:inView:

Draws the key equivalent associated with the menu item.

- drawSeparatorItemWithFrame:inView:

Draws a menu item separator.

- drawStateImageWithFrame:inView:

Draws the state image associated with the menu item.

- drawTitleWithFrame:inView:

Draws the title associated with the menu item.