< Previous PageNext Page > Hide TOC

Deprecated NSPageLayout 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 receiver’s accessory view (used to customize the receiver). (Deprecated in Mac OS X v10.5. Deprecated in Mac OS X v10.5. Use accessoryControllers instead.)

- (NSView *)accessoryView

Availability
See Also
Declared In
NSPageLayout.h

readPrintInfo

Sets the receiver’s values to those stored in the NSPrintInfo object used when the receiver is run. (Deprecated in Mac OS X v10.5. Deprecated in Mac OS X v10.5. This method should not be invoked directly, so there is no replacement.)

- (void)readPrintInfo

Discussion

Do not invoke this method directly; it is invoked automatically before the receiver is displayed.

Availability
See Also
Declared In
NSPageLayout.h

setAccessoryView:

Adds a view object to the receiver. (Deprecated in Mac OS X v10.5. Deprecated in Mac OS X v10.5. Use addAccessoryController: instead.)

- (void)setAccessoryView:(NSView *)aView

Discussion

Invoke this method to add a custom view containing your controls. aView is added to the receiver’s Settings popup menu with your application’s name as its menu item. The receiver is automatically resized to accommodate aView. This method can be invoked repeatedly to change the accessory view depending on the situation. If aView is nil, then the receiver’s current accessory view, if any, is removed.

Availability
See Also
Declared In
NSPageLayout.h

writePrintInfo

Writes the receiver’s values to the NSPrintInfo object used when the receiver is run. (Deprecated in Mac OS X v10.5. Deprecated in Mac OS X v10.5. This method should not be invoked directly, so there is no replacement.)

- (void)writePrintInfo

Discussion

Do not invoke this method directly; it is invoked automatically when the receiver is dismissed.

Availability
See Also
Declared In
NSPageLayout.h

< Previous PageNext Page > Hide TOC


© 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-04-11)


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.