Instance Method

removeFontTrait:

This action method causes the receiver to send its action message up the responder chain.

Declaration

- (void)removeFontTrait:(id)sender;

Parameters

sender

The control that sent the message.

Discussion

By default, the action message is changeFont:.

When a responder replies by providing a font to convert in a convertFont: message, the receiver converts the font by removing the trait specified by sender. This trait is determined by sending a tag message to sender and interpreting it as a font trait mask for a convertFont:toNotHaveTrait: message.

See Also

Sending Action Methods

- addFontTrait:

This action method causes the receiver to send its action message up the responder chain.

- modifyFont:

This action method causes the receiver to send its action message up the responder chain.

- modifyFontViaPanel:

This action method causes the receiver to send its action message up the responder chain.

- orderFrontStylesPanel:

This action method opens the Font styles panel.

- orderFrontFontPanel:

This action method opens the Font panel by sending it an orderFront: message, creating the Font panel if necessary.