# NSPanel

scottc@net-community.com

Panel window class and related functions

1996 Free Software Foundation, Inc.
Software documentation for the NSPanel class
AppKit/NSPanel.h
Description forthcoming.
becomesKeyOnlyIfNeeded

Returns whether if the NSPanel becomes key window only when a view require to be the first responder.

See Also: -setBecomesKeyOnlyIfNeeded: [NSView -needsPanelToBecomeKey] [NSWindow -sendEvent:]

isFloatingPanel

Returns whether the NSPanel is a floating panel, e.g. the window level is NSFloatingWindowLevel instead of NSNormalWindowLevel.

See Also: -setFloatingPanel:

setBecomesKeyOnlyIfNeeded:
flag

Sets whether if the NSPanel becomes key window only when a view require to be the first responder.

See Also: -setBecomesKeyOnlyIfNeeded: [NSView -needsPanelToBecomeKey] [NSWindow -sendEvent:]

setFloatingPanel:
flag

Sets whether the NSPanel is a floating panel, e.g. the window level is NSFloatingWindowLevel instead of NSNormalWindowLevel.

See Also: -isFloatingPanel [NSWindow -setLevel:]

setWorksWhenModal:
flag

Sets whether the NSPanel can receive events when another window/panel runs modally.

See Also: -worksWhenModal [NSApplication -runModalSession:]
worksWhenModal

Returns whether the NSPanel can receive events when another window/panel runs modally.

See Also: -setWorksWhenModal: [NSApplication -runModalSession:]