Classes

NSActionCell
NSAlert
NSApplication
NSArrayController
NSBezierPath
NSBitmapImageRep
NSBox
NSBrowser
NSBrowserCell
NSButton
NSButtonCell
NSCachedImageRep
NSCell
NSClipView
NSCollectionView
NSCollectionViewItem
NSColor
NSColorList
NSColorPanel
NSColorPicker
NSColorWell
NSComboBox
NSComboBoxCell
NSControl
NSController
NSCursor
NSCustomImageRep
NSDataLink
NSDataLinkManager
NSDataLinkPanel
NSDatePicker
NSDatePickerCell
NSDocument
NSDocumentController
NSDrawer
NSDrawerDelegate
NSEPSImageRep
NSEvent
NSFont
NSFontDescriptor
NSFontManager
NSFontPanel
NSForm
NSFormCell
NSGraphicsContext
NSHelpManager
NSHelpPanel
NSImage
NSImageCell
NSImageRep
NSImageView
NSInputServer
NSMatrix
NSMenu
NSMenuItem
NSMenuItemCell
NSMenuView
NSMovie
NSMovieView
NSMutableParagraphStyle
NSNib
NSObjectController
NSOpenGLContext
NSOpenGLPixelFormat
NSOpenGLView
NSOpenPanel
NSOutlineView
NSPageLayout
NSPanel
NSParagraphStyle
NSPasteboard
NSPasteboardItem
NSPopUpButton
NSPopUpButtonCell
NSPredicateEditor
NSPredicateEditorRowTemplate
NSPrintInfo
NSPrintOperation
NSPrintPanel
NSPrinter
NSProgressIndicator
NSResponder
NSRuleEditor
NSRulerMarker
NSSavePanel
NSScreen
NSScrollView
NSScroller
NSSecureTextField
NSSecureTextFieldCell
NSSelection
NSSharingService
NSSharingServicePicker
NSSlider
NSSliderCell
NSSound
NSSpeechSynthesizer
NSSpellChecker
NSSplitView
NSStepper
NSStepperCell
NSTabView
NSTabViewItem
NSTableColumn
NSTableHeaderCell
NSTableHeaderView
NSTableView
NSText
NSTextAttachment
NSTextAttachmentCell
NSTextContainer
NSTextField
NSTextFieldCell
NSTextStorage
NSTextTab
NSTextView
NSTokenField
NSTokenFieldCell
NSUserDefaultsController
NSView
NSWindow
NSWindowController
NSWorkspace

Protocols

<GSImageDelegateProtocol>
<NSAlertDelegate>
<NSApplicationDelegate>
<NSBrowserDelegate>
<NSCollectionViewDataSource>
<NSCollectionViewDelegate>
<NSCollectionViewElement>
<NSCollectionViewPrefetching>
<NSComboBoxCellDataSource>
<NSComboBoxDataSource>
<NSComboBoxDelegate>
<NSControlTextEditingDelegate>
<NSInputServerMouseTracker>
<NSInputServiceProvider>
<NSMatrixDelegate>
<NSMenuDelegate>
<NSMenuItem>
<NSMenuValidation>
<NSMenuView>
<NSOpenSavePanelDelegate>
<NSOutlineViewDataSource>
<NSOutlineViewDelegate>
<NSPasteboardItemDataProvider>
<NSPasteboardReading>
<NSPasteboardWriting>
<NSPrintPanelAccessorizing>
<NSRuleEditorDelegate>
<NSSharingServiceDelegate>
<NSSharingServicePickerDelegate>
<NSSpeechSynthesizerDelegate>
<NSSplitViewDelegate>
<NSTabViewDelegate>
<NSTableViewDataSource>
<NSTableViewDelegate>
<NSTextAttachmentCell>
<NSTextFieldDelegate>
<NSTextViewDelegate>
<NSWindowDelegate>
(NSAlertDelegate)
(NSApplicationDelegate)
(NSBrowserDelegate)
(NSComboBoxCellDataSource)
(NSControlDelegate)
(NSControlTextEditingDelegate)
(NSDataLinkManagerDelegate)
(NSDataPickerCellDelegate)
(NSEditor)
(NSEditorRegistration)
(NSFontManagerDelegate)
(NSFontPanelValidation)
(NSMenuActionResponder)
(NSMenuDelegate)
(NSOpenSavePanelDelegate)
(NSPasteboardItemDataProvider)
(NSPasteboardOwner)
(NSPasteboardReading)
(NSPasteboardWriting)
(NSPlaceholder)
(NSSavePanelDelegate)
(NSServicesRequests)
(NSSoundDelegate)
(NSSpeechSynthesizerDelegate)
(NSSplitViewDelegate)
(NSTableDataSource)
(NSTableViewDelegate)
(NSTextDelegate)
(NSTextStorageDelegate)
(NSTextViewDelegate)
(NSWindowDelegate)
(NSWindowDelegateAdditions)

Constants

Functions

Macros

Types

Variables

Up

NSPanel

Authors

Scott Christley (scottc@net-community.com)

Date: Generated at 2025-07-12 14:18:56 +0000

Panel window class and related functions

Copyright: (C) 1996 Free Software Foundation, Inc.

Software documentation for the NSPanel class

NSPanel : NSWindow

Declared in:
AppKit/NSPanel.h
Availability: OpenStep

Description forthcoming.

Method summary


becomesKeyOnlyIfNeeded 

- (BOOL) becomesKeyOnlyIfNeeded;
Availability: OpenStep

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 

- (BOOL) isFloatingPanel;
Availability: OpenStep

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

See Also: -setFloatingPanel:


setBecomesKeyOnlyIfNeeded: 

- (void) setBecomesKeyOnlyIfNeeded: (BOOL)flag;
Availability: OpenStep

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: 

- (void) setFloatingPanel: (BOOL)flag;
Availability: OpenStep

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

See Also: -isFloatingPanel [NSWindow -setLevel:]


setWorksWhenModal: 

- (void) setWorksWhenModal: (BOOL)flag;
Availability: OpenStep

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

See Also: -worksWhenModal [NSApplication -runModalSession:]


worksWhenModal 

- (BOOL) worksWhenModal;
Availability: OpenStep

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

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



Up