---
title: "setTitleWithMnemonic:"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nscell/settitlewithmnemonic:"
---

# setTitleWithMnemonic:

Sets the title of the receiver with one character in the string denoted as an access key.

## Declaration

```occ
- (void) setTitleWithMnemonic:(NSString *) stringWithAmpersand;
```

## Parameters

- `stringWithAmpersand`: The new title of the cell. One character in the string should be preceded by an ampersand (&) character. The character that follows becomes the mnemonic character for the title.

## Discussion

Discussion Mnemonics are not supported in macOS.

## See Also

### Deprecated Methods

- [setEntryType:](appkit/nscell/setentrytype:.md)
- [entryType](appkit/nscell/entrytype.md)
- [isEntryAcceptable:](appkit/nscell/isentryacceptable:.md)
- [setFloatingPointFormat:left:right:](appkit/nscell/setfloatingpointformat:left:right:.md)
- [mnemonic](appkit/nscell/mnemonic.md)
- [setMnemonicLocation:](appkit/nscell/setmnemoniclocation:.md)
- [mnemonicLocation](appkit/nscell/mnemoniclocation.md)
