Instance Method

selectItemWithTitle:

Selects the item with the specified title.

Declaration

- (void)selectItemWithTitle:(NSString *)title;

Parameters

title

The title of the item to select. If you specify an empty string, or a string that does not match the title of a menu item, this method deselects the currently selected item.

See Also

Setting the current selection

- selectItem:

Selects the specified menu item.

- selectItemAtIndex:

Selects the item in the menu at the specified index.

- selectItemWithTag:

Selects the menu item with the specified tag.

- setObjectValue:

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