Instance Method

setTitleWithMnemonic:

Sets the title of the receiver with a character denoted as an access key.

Declaration

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

Discussion

Mnemonics are not supported in macOS.

By default, a box’s title is “Title.” The content view is not automatically resized, and the box is not marked for redisplay.

See Also

Configuring Boxes

borderRect

The rectangle in which the receiver’s border is drawn.

boxType

The receiver’s box type.

borderType

The receiver’s border type.

Deprecated
transparent

A Boolean value that indicates whether the receiver is transparent.

title

The receiver’s title.

titleFont

The font object used to draw the receiver’s title.

titlePosition

A constant representing the title position.

titleCell

The cell used to display the receiver’s title.

titleRect

The rectangle in which the receiver’s title is drawn.