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

NSFontPanel 

Inherits From:	NSPanel : NSWindow : NSResponder : NSObject 

Declared In:	appkit/NSFontPanel.h 

Creating an NSFontPanel 

+ (NSFontPanel *)sharedFontPanel	Returns an NSFontPanel object.
- (NSFont *)panelConvertFont:(NSFont *)fontObject
	Returns a Font object whose traits are the same as those of fontObject except as specified by the users choices in the Font Panel.

Setting the Font 

- (void)setPanelFont:(NSFont *)fontObject	Sets the FontPanel's current font from fontObject with flag
 isMultiple:(BOOL)flag		 indicating whether it contains multiple fonts.

Configuring the FontPanel 

- (NSView *)accessoryView	Returns the application-customized view.
- (BOOL)isEnabled	Returns whether the FontPanel's Set button is enabled.
- (void)setAccessoryView:(NSView *)aView	Adds aView above the action buttons at the bottom of the panel.
- (void)setEnabled:(BOOL)flag	Enables or disables the FontPanel's Set button depending on flag.
- (BOOL)worksWhenModal	Returns whether FontPanel works when another window is modal.

Displaying the NSFontPanel 

- (void)orderWindow:(NSWindowOrderingMode)place 
relativeTo:(int)otherWindows	Repositions the FontPanel above or below the other windows  otherWindows as indicated by place and updates the FontPanel if necessary.