(Preliminary Documentation) Copyright ã1994 by NeXT Computer, Inc.  All Rights Reserved.

NSPrintPanel 

Inherits From:	NSPanel : NSWindow : NSResponder : NSObject 

Declared In:	appkit/NSPrintPanel.h 

Creating an NSPrintPanel 

+ (NSPrintPanel *)printPanel	Returns a default NSPrintPanel object.

Customizing the Panel 

- (void)setAccessoryView:(NSView *)aView	Adds a view to the panel.
- (NSView *)accessoryView	Returns the accessory view.

Running the Panel 

- (int)runModal	Displays the Print panel and begins its event loop.
- (void)pickedButton:(id)sender	Stops the event loop.

Updating the Panel's Display 

- (void)pickedAllPages:(id)sender	Updates the panel when the user chooses all pages.
- (void)pickedLayoutList:(id)sender	Updates the panel when the user chooses a new layout.
- (BOOL)textShouldChange:(NSText *)textObject	Updates the panel when the user begins to edit the number of pages to print.  See the NSText specification for details.
- (BOOL)textShouldEnd:(NSText *)textObject	Updates the panel when the user ends editing the number of pages to print.  See the NSText specification for details.

Communicating with the NSPrintInfo Object 

- (void)updateFromPrintInfo	Reads NSPrintPanel's values from the NSPrintInfo object.
- (void)finalWritePrintInfo	Writes NSPrintPanel's values to the NSPrintInfo object.