< Previous PageNext Page > Hide TOC

Deprecated NSPrintPanel Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in Mac OS X v10.5

accessoryView

Returns the accessory view of the receiver. (Deprecated in Mac OS X v10.5. Use accessoryControllers instead.)

- (NSView *)accessoryView

Return Value

The accessory view of the receiver, if any.

Availability
See Also
Declared In
NSPrintPanel.h

finalWritePrintInfo

Writes the receiver's printing attributes to the current NSPrintOperation object. (Deprecated in Mac OS X v10.5.)

- (void)finalWritePrintInfo

Discussion

Do not invoke this method directly—it is invoked automatically when the Print panel is dismissed by the user clicking the OK button.

Availability
See Also
Declared In
NSPrintPanel.h

setAccessoryView:

Sets the accessory view for the receiver. (Deprecated in Mac OS X v10.5. Use addAccessoryController: instead.)

- (void)setAccessoryView:(NSView *)aView

Parameters
aView

The view containing the controls and information you want to add to the print panel. Specify nil to remove the receiver's current accessory view.

Discussion

You can use an accessory view to add printing controls and information to the standard print panel. You set your accessory view prior to displaying the print panel. Upon display, the print panel adds your application's name as an item to its pane-selection pull-down menu. When the user selects this item, the print panel displays your accessory view.

Availability
See Also
Declared In
NSPrintPanel.h

updateFromPrintInfo

Updates the receiver with information from the current NSPrintOperation object. (Deprecated in Mac OS X v10.5.)

- (void)updateFromPrintInfo

Discussion

Do not invoke this method directly—it is invoked automatically before the Print panel is displayed.

Availability
See Also
Declared In
NSPrintPanel.h

< Previous PageNext Page > Hide TOC


© 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-07-16)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.