Instance Method

menu:willHighlightItem:

Invoked to indicate that a menu is about to highlight a given item.

Declaration

- (void)menu:(NSMenu *)menu willHighlightItem:(NSMenuItem *)item;

Parameters

menu

The menu object about to highlight an item.

item

The item about to be highlighted.

Discussion

Only one item per menu can be highlighted at a time. If item is nil, it means that all items in the menu are about to be unhighlighted.

See Also