Instance Method

selectItem:

Selects the specified menu item.

Declaration

- (void)selectItem:(NSMenuItem *)item;

Parameters

anObject

The menu item to select, or nil if you want to deselect all menu items.

See Also

Setting the current selection

- selectItemAtIndex:

Selects the item in the menu at the specified index.

- selectItemWithTag:

Selects the menu item with the specified tag.

- selectItemWithTitle:

Selects the item with the specified title.

- setObjectValue:

Selects the item at a specific index using an object value.