NSWindow
Class at a Glance
Overview
Tasks
Constructors
Calculating Layout
Converting Coordinates
Moving and Resizing
Constraining Window Size
Managing Content Size
Saving the Frame to User Defaults
Ordering Windows
Attached Windows
Making Key and Main Windows
Working with the Default Button
Display and Drawing
Flushing Graphics
Bracketing Temporary Drawing
Window Server Information
Screen Information
Working with the Responder Chain
Event Handling
Working with the Field Editor
Keyboard Interface Control
Setting the Title and Filename
Marking a Window Edited
Closing the Window
Miniaturizing and Miniaturized Windows
Working with Menus
Working with the Windows Menu
Working with Cursor Rectangles
Dragging
Controlling Behavior
Working with Display Characteristics
Working with Services
Printing
Setting the Delegate
Getting Associated Information
Working with Sheets
Working with Toolbars
Working with Title Bar Widgets
Managing Tool Tips
Working with window status
Moving and resizing windows
Miniaturizing and closing windows
Exposing and updating windows
Displaying sheets
Obtaining information about a window
Constructors
Static Methods
contentRectForFrameRect
defaultDepthLimit
frameRectForContentRect
menuChanged
minFrameWidthWithTitle
removeFrameUsingName
standardWindowButtonForStyleMask
Instance Methods
acceptsMouseMovedEvents
addChildWindow
allowsToolTipsWhenApplicationIsInactive
alphaValue
animationResizeTime
areCursorRectsEnabled
aspectRatio
attachedSheet
autorecalculatesKeyViewLoop
backgroundColor
backingType
becomeKeyWindow
becomeMainWindow
cacheImageInRect
canBecomeKeyWindow
canBecomeMainWindow
canHide
canStoreColor
cascadeTopLeftFromPoint
center
childWindows
close
concludeDragOperation
constrainFrameRectToScreen
contentAspectRatio
contentMaxSize
contentMinSize
contentRectForFrameRect
contentResizeIncrements
contentView
convertBaseToScreen
convertScreenToBase
currentEvent
dataWithEPSInsideRect
dataWithPDFInsideRect
deepestScreen
defaultButtonCell
delegate
deminiaturize
depthLimit
deviceDescription
disableCursorRects
disableFlushWindow
disableKeyEquivalentForDefaultButtonCell
disableScreenUpdatesUntilFlush
discardCachedImage
discardCursorRects
discardEventsMatchingMask
display
displayIfNeeded
displaysWhenScreenProfileChanges
draggingEntered
draggingExited
draggingUpdated
dragImage
drawers
enableCursorRects
enableFlushWindow
enableKeyEquivalentForDefaultButtonCell
endEditingForObject
fieldEditorForObject
firstResponder
flushWindow
flushWindowIfNeeded
frame
frameAutosaveName
frameRectForContentRect
graphicsContext
gState
hasDynamicDepthLimit
hasShadow
hidesOnDeactivate
ignoresMouseEvents
initialFirstResponder
invalidateCursorRectsForView
invalidateShadow
isAutodisplay
isDocumentEdited
isExcludedFromWindowsMenu
isFlushWindowDisabled
isKeyWindow
isMainWindow
isMiniaturized
isMovableByWindowBackground
isOneShot
isOpaque
isReleasedWhenClosed
isSheet
isVisible
isZoomed
keyDown
keyViewSelectionDirection
level
makeFirstResponder
makeKeyAndOrderFront
makeKeyWindow
makeMainWindow
maxSize
miniaturize
miniwindowImage
miniwindowTitle
minSize
mouseLocationOutsideOfEventStream
nextEventMatchingMask
orderBack
orderFront
orderFrontRegardless
orderOut
orderWindow
parentWindow
performClose
performDragOperation
performMiniaturize
performZoom
postEvent
prepareForDragOperation
preservesContentDuringLiveResize
print
recalculateKeyViewLoop
registerForDraggedTypes
removeChildWindow
representedFilename
resetCursorRects
resignKeyWindow
resignMainWindow
resizeFlags
resizeIncrements
restoreCachedImage
runToolbarCustomizationPalette
saveFrameUsingName
screen
selectKeyViewFollowingView
selectKeyViewPrecedingView
selectNextKeyView
selectPreviousKeyView
sendEvent
setAcceptsMouseMovedEvents
setAllowsToolTipsWhenApplicationIsInactive
setAlphaValue
setAspectRatio
setAutodisplay
setAutorecalculatesKeyViewLoop
setBackgroundColor
setBackingType
setCanHide
setContentAspectRatio
setContentMaxSize
setContentMinSize
setContentResizeIncrements
setContentSize
setContentView
setDefaultButtonCell
setDelegate
setDepthLimit
setDisplaysWhenScreenProfileChanges
setDocumentEdited
setDynamicDepthLimit
setExcludedFromWindowsMenu
setFrame
setFrameAutosaveName
setFrameFromString
setFrameOrigin
setFrameTopLeftPoint
setFrameUsingName
setHasShadow
setHidesOnDeactivate
setIgnoresMouseEvents
setInitialFirstResponder
setLevel
setMaxSize
setMiniwindowImage
setMiniwindowTitle
setMinSize
setMovableByWindowBackground
setOneShot
setOpaque
setParentWindow
setPreservesContentDuringLiveResize
setReleasedWhenClosed
setRepresentedFilename
setResizeIncrements
setShowsResizeIndicator
setShowsToolbarButton
setTitle
setTitleWithRepresentedFilename
setToolbar
setViewsNeedDisplay
setWindowController
showsResizeIndicator
showsToolbarButton
standardWindowButton
stringWithSavedFrame
styleMask
title
toggleToolbarShown
toolbar
tryToPerform
unregisterDraggedTypes
update
useOptimizedDrawing
userSpaceScaleFactor
validRequestorForTypes
viewsNeedDisplay
windowController
windowNumber
worksWhenModal
zoom
Constants
Delegate Methods
windowDidBecomeKey
windowDidBecomeMain
windowDidChangeScreen
windowDidChangeScreenProfile
windowDidDeminiaturize
windowDidEndSheet
windowDidExpose
windowDidMiniaturize
windowDidMove
windowDidResignKey
windowDidResignMain
windowDidResize
windowDidUpdate
windowShouldClose
windowShouldZoom
windowWillBeginSheet
windowWillClose
windowWillMiniaturize
windowWillMove
windowWillPositionSheet
windowWillResize
windowWillReturnFieldEditor
windowWillReturnUndoManager
windowWillUseStandardFrame
Notifications
WindowDidBecomeKeyNotification
WindowDidBecomeMainNotification
WindowDidChangeScreenNotification
WindowDidChangeScreenProfileNotification
WindowDidDeminiaturizeNotification
WindowDidEndSheetNotification
WindowDidExposeNotification
WindowDidMiniaturizeNotification
WindowDidMoveNotification
WindowDidResignKeyNotification
WindowDidResignMainNotification
WindowDidResizeNotification
WindowDidUpdateNotification
WindowWillBeginSheetNotification
WindowWillCloseNotification
WindowWillMiniaturizeNotification
WindowWillMoveNotification
Index
Companion Guide
Window Programming Guide for Cocoa