NSPanel Mac OS X 10.0

This subclass extends the functionality of NSWindow that is useful for auxiliary and utility windows. In particular, panels are different from windows in several key ways. First, NSPanels adopt the behavior that by default the panel will hide itself when its application becomes inactive. Second, NSPanels are capable of becoming key windows, but they may never have main window status. Additionally, NSPanel object can be made to float above all other windows, making their contents easily accessible when other windows are in front.


@interface NSPanel : NSWindow
 // Accessor Methods
   - (void)setFloatingPanel:(BOOL)flag;
   - (void)setBecomesKeyOnlyIfNeeded:(BOOL)flag;
   - (BOOL)becomesKeyOnlyIfNeeded;
   - (void)setWorksWhenModal:(BOOL)flag;
   - (BOOL)worksWhenModal;
 // Instance Methods
   - (BOOL)isFloatingPanel;


NSColorPanel, NSFontPanel, NSSavePanel

    Part II: API Quick Reference
    Chapter 13. Foundation Classes