libs-gui/Documentation/gsdoc/NSWindow.html
James Dessart 404e6765d3 Added documentation for NSWindow. Far from complete.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6574 72102866-910b-0410-8b05-ffd578937521
2000-05-06 16:20:19 +00:00

1093 lines
34 KiB
HTML

<html><head>
<title>NSWindow</title>
</head>
<body>
<a href="NSView.html">[Previous]</a>
<a href="Gui.html">[Up]</a>
<a href="NSWindowController.html">[Next]</a>
<h1>NSWindow</h1>
<h3>Authors</h3>
<dl>
<dt><a href="http://www.gnustep.org/developers/whoiswho.html">Richard Frith-Macdonald</a>
<dd>
<dt>James Dessart
<dd>
</dl>
<p>Version: 0.2</p>
<p>Date: 28 February, 2000</p>
<h2><a name="cont-0">NSWindow</a></h2>
<h2><a name="NSWindow">NSWindow</a></h2>
<p><b>Declared in:</b> Gui/NSWindow.h</p>
<p><b>Inherits from:</b> NSResponder</p>
<p><b>Conforms to:</b> NSCoding
</p>
<hr>
<p>
Instances of the NSWindow class handle on-screen windows, their associated
NSViews, and events generate by the user. An NSWindow's size is defined by its
frame rectangle, which encompasses its entire structure, and its content rectangle,
which includes only the content.
</p>
<p>
Every NSWindow has a content view, the NSView which forms the root of the
window's view hierarchy. This view can be set using the <code>setContentView:</code>
method, and accessed through the <code>contentView</code> method.
<code>setContentView:</code> replaces the default content view created by NSWindow.
</p>
<p>
Other views may be added to the window by using the content view's
<code>addSubview:</code> method. These subviews can also have subviews added, forming
a tree structure, the view hierarchy. When an NSWindow must display itself, it causes
this hierarchy to draw itself. Leaf nodes in the view hierarchy are drawn last,
causing them to potentially obscure views further up in the hierarchy.
</p>
<p>
A delegate can be specified for an NSWindow, which will receive notifications of
events pertaining to the window. The delegate is set using <code>setDelegate:</code>,
and can be retrieved using <code>delegate</code>. The delegate can restrain resizing
by implementing the <code>windowWillResize: toSize:</code> method, or control the closing
of the window by implementing <code>windowShouldClose:</code>.
</p>
<ul>
<li><a href="NSWindow.html#method-0">+contentRectForFrameRect:</a>
<li><a href="NSWindow.html#method-1">+defaultDepthLimit</a>
<li><a href="NSWindow.html#method-2">+frameRectForContentRect:</a>
<li><a href="NSWindow.html#method-3">+menuChanged:</a>
<li><a href="NSWindow.html#method-4">+minFrameWidthWithTitle:styleMask:</a>
<li><a href="NSWindow.html#method-5">+removeFrameUsingName:</a>
<li><a href="NSWindow.html#method-6">-acceptsMouseMovedEvents</a>
<li><a href="NSWindow.html#method-7">-areCursorRectsEnabled</a>
<li><a href="NSWindow.html#method-8">-aspectRatio</a>
<li><a href="NSWindow.html#method-9">-backgroundColor</a>
<li><a href="NSWindow.html#method-10">-backingType</a>
<li><a href="NSWindow.html#method-11">-becomeKeyWindow</a>
<li><a href="NSWindow.html#method-12">-becomeMainWindow</a>
<li><a href="NSWindow.html#method-13">-cacheImageInRect:</a>
<li><a href="NSWindow.html#method-14">-canBecomeKeyWindow</a>
<li><a href="NSWindow.html#method-15">-canBecomeMainWindow</a>
<li><a href="NSWindow.html#method-16">-canStoreColor</a>
<li><a href="NSWindow.html#method-17">-cascadeTopLeftFromPoint:</a>
<li><a href="NSWindow.html#method-18">-center</a>
<li><a href="NSWindow.html#method-19">-close</a>
<li><a href="NSWindow.html#method-20">-constrainFrameRect:</a>
<li><a href="NSWindow.html#method-21">-contentView</a>
<li><a href="NSWindow.html#method-22">-convertBaseToScreen:</a>
<li><a href="NSWindow.html#method-23">-convertScreenToBase:</a>
<li><a href="NSWindow.html#method-24">-currentEvent</a>
<li><a href="NSWindow.html#method-25">-dataWithEPSInsideRect:</a>
<li><a href="NSWindow.html#method-26">-deepestScreen</a>
<li><a href="NSWindow.html#method-27">-defaultButtonCell</a>
<li><a href="NSWindow.html#method-28">-delegate</a>
<li><a href="NSWindow.html#method-29">-deminiaturize:</a>
<li><a href="NSWindow.html#method-30">-depthLimit</a>
<li><a href="NSWindow.html#method-31">-deviceDescription</a>
<li><a href="NSWindow.html#method-32">-disableCursorRects</a>
<li><a href="NSWindow.html#method-33">-disableFlushWindow</a>
<li><a href="NSWindow.html#method-34">-disableKeyEquivalentForDefaultButtonCell</a>
<li><a href="NSWindow.html#method-35">-discardCachedImage</a>
<li><a href="NSWindow.html#method-36">-discardCursorRects</a>
<li><a href="NSWindow.html#method-37">-discardEventsMatchingMask:beforeEvent:</a>
<li><a href="NSWindow.html#method-38">-display</a>
<li><a href="NSWindow.html#method-39">-displayIfNeeded</a>
<li><a href="NSWindow.html#method-40">-dragImage:at:offset:event:pasteboard:source:slideBack:</a>
<li><a href="NSWindow.html#method-41">-enableCursorRects</a>
<li><a href="NSWindow.html#method-42">-enableFlushWindow</a>
<li><a href="NSWindow.html#method-43">-enableKeyEquivalentForDefaultButtonCell</a>
<li><a href="NSWindow.html#method-44">-endEditingFor:</a>
<li><a href="NSWindow.html#method-45">-fax:</a>
<li><a href="NSWindow.html#method-46">-fieldEditor:</a>
<li><a href="NSWindow.html#method-47">-firstResponder</a>
<li><a href="NSWindow.html#method-48">-flushWindow</a>
<li><a href="NSWindow.html#method-49">-flushWindowIfNeeded</a>
<li><a href="NSWindow.html#method-50">-frame</a>
<li><a href="NSWindow.html#method-51">-frameAutosaveName</a>
<li><a href="NSWindow.html#method-52">-gState</a>
<li><a href="NSWindow.html#method-53">-hasDynamicDepthLimit</a>
<li><a href="NSWindow.html#method-54">-hidesOnDeactivate</a>
<li><a href="NSWindow.html#method-56">-initWithContentRect:styleMask:backing:</a>
<li><a href="NSWindow.html#method-57">-initWithContentRect:styleMask:backing:defer:screen:</a>
<li><a href="NSWindow.html#method-55">-initialFirstResponder</a>
<li><a href="NSWindow.html#method-58">-interfaceStyle</a>
<li><a href="NSWindow.html#method-59">-invalidateCursorRectsForView:</a>
<li><a href="NSWindow.html#method-60">-isAutodisplay</a>
<li><a href="NSWindow.html#method-61">-isDocumentEdited</a>
<li><a href="NSWindow.html#method-62">-isExcludedFromWindowsMenu</a>
<li><a href="NSWindow.html#method-63">-isFlushWindowDisabled</a>
<li><a href="NSWindow.html#method-64">-isKeyWindow</a>
<li><a href="NSWindow.html#method-65">-isMainWindow</a>
<li><a href="NSWindow.html#method-66">-isMiniaturized</a>
<li><a href="NSWindow.html#method-67">-isOneShot</a>
<li><a href="NSWindow.html#method-68">-isReleasedWhenClosed</a>
<li><a href="NSWindow.html#method-69">-isVisible</a>
<li><a href="NSWindow.html#method-70">-isZoomed;</a>
<li><a href="NSWindow.html#method-71">-keyDown:</a>
<li><a href="NSWindow.html#method-72">-keyViewSelectionDirection</a>
<li><a href="NSWindow.html#method-73">-level</a>
<li><a href="NSWindow.html#method-74">-makeFirstResponder:</a>
<li><a href="NSWindow.html#method-75">-makeKeyAndOrderFront:</a>
<li><a href="NSWindow.html#method-76">-makeKeyWindow</a>
<li><a href="NSWindow.html#method-77">-makeMainWindow</a>
<li><a href="NSWindow.html#method-78">-maxSize</a>
<li><a href="NSWindow.html#method-82">-minSize</a>
<li><a href="NSWindow.html#method-79">-miniaturize:</a>
<li><a href="NSWindow.html#method-80">-miniwindowImage</a>
<li><a href="NSWindow.html#method-81">-miniwindowTitle</a>
<li><a href="NSWindow.html#method-83">-mouseLocationOutsideOfEventStream</a>
<li><a href="NSWindow.html#method-84">-nextEventMatchingMask:</a>
<li><a href="NSWindow.html#method-85">-nextEventMatchingMask:untilDate:inMode:dequeue:</a>
<li><a href="NSWindow.html#method-86">-orderBack:</a>
<li><a href="NSWindow.html#method-87">-orderFront:</a>
<li><a href="NSWindow.html#method-88">-orderFrontRegardless</a>
<li><a href="NSWindow.html#method-89">-orderOut:</a>
<li><a href="NSWindow.html#method-90">-orderWindow:relativeTo:</a>
<li><a href="NSWindow.html#method-91">-performClose:</a>
<li><a href="NSWindow.html#method-92">-performMiniaturize:</a>
<li><a href="NSWindow.html#method-93">-performZoom:</a>
<li><a href="NSWindow.html#method-94">-postEvent:</a>
<li><a href="NSWindow.html#method-95">-print:</a>
<li><a href="NSWindow.html#method-96">-registerForDraggedTypes:</a>
<li><a href="NSWindow.html#method-97">-representedFilename</a>
<li><a href="NSWindow.html#method-98">-resetCursorRects</a>
<li><a href="NSWindow.html#method-99">-resignKeyWindow</a>
<li><a href="NSWindow.html#method-100">-resignMainWindow</a>
<li><a href="NSWindow.html#method-101">-resizeFlags</a>
<li><a href="NSWindow.html#method-102">-resizeIncrements</a>
<li><a href="NSWindow.html#method-103">-restoreCachedImage</a>
<li><a href="NSWindow.html#method-104">-saveFrameUsingName:</a>
<li><a href="NSWindow.html#method-105">-screen</a>
<li><a href="NSWindow.html#method-106">-selectKeyViewFollowingView:</a>
<li><a href="NSWindow.html#method-107">-selectKeyViewPrecedingView:</a>
<li><a href="NSWindow.html#method-108">-selectNextKeyView:</a>
<li><a href="NSWindow.html#method-109">-selectPreviousKeyView:</a>
<li><a href="NSWindow.html#method-110">-sendEvent:</a>
<li><a href="NSWindow.html#method-111">-setAcceptsMouseMovedEvents:</a>
<li><a href="NSWindow.html#method-112">-setAspectRatio:</a>
<li><a href="NSWindow.html#method-113">-setAutodisplay:</a>
<li><a href="NSWindow.html#method-114">-setBackgroundColor:</a>
<li><a href="NSWindow.html#method-115">-setBackingType:</a>
<li><a href="NSWindow.html#method-116">-setContentSize:</a>
<li><a href="NSWindow.html#method-117">-setContentView:</a>
<li><a href="NSWindow.html#method-118">-setDefaultButtonCell:</a>
<li><a href="NSWindow.html#method-119">-setDelegate:</a>
<li><a href="NSWindow.html#method-120">-setDepthLimit:</a>
<li><a href="NSWindow.html#method-121">-setDocumentEdited:</a>
<li><a href="NSWindow.html#method-122">-setDynamicDepthLimit:</a>
<li><a href="NSWindow.html#method-123">-setExcludedFromWindowsMenu:</a>
<li><a href="NSWindow.html#method-124">-setFrame:</a>
<li><a href="NSWindow.html#method-125">-setFrameAutosaveName:</a>
<li><a href="NSWindow.html#method-126">-setFrameFromString:</a>
<li><a href="NSWindow.html#method-127">-setFrameOrigin:</a>
<li><a href="NSWindow.html#method-128">-setFrameTopLeftPoint:</a>
<li><a href="NSWindow.html#method-129">-setFrameUsingName:</a>
<li><a href="NSWindow.html#method-130">-setHidesOnDeactivate:</a>
<li><a href="NSWindow.html#method-131">-setInitialFirstResponder:</a>
<li><a href="NSWindow.html#method-132">-setInterfaceStyle:</a>
<li><a href="NSWindow.html#method-133">-setLevel:</a>
<li><a href="NSWindow.html#method-134">-setMaxSize:</a>
<li><a href="NSWindow.html#method-137">-setMinSize:</a>
<li><a href="NSWindow.html#method-135">-setMiniwindowImage:</a>
<li><a href="NSWindow.html#method-136">-setMiniwindowTitle:</a>
<li><a href="NSWindow.html#method-138">-setOneShot:</a>
<li><a href="NSWindow.html#method-139">-setReleasedWhenClosed:</a>
<li><a href="NSWindow.html#method-140">-setRepresentedFilename:</a>
<li><a href="NSWindow.html#method-141">-setResizeIncrements:</a>
<li><a href="NSWindow.html#method-142">-setTitle:</a>
<li><a href="NSWindow.html#method-143">-setTitleWithRepresentedFilename:</a>
<li><a href="NSWindow.html#method-144">-setViewsNeedDisplay:</a>
<li><a href="NSWindow.html#method-145">-setWindowController:</a>
<li><a href="NSWindow.html#method-146">-stringWithSavedFrame</a>
<li><a href="NSWindow.html#method-147">-styleMask</a>
<li><a href="NSWindow.html#method-148">-title</a>
<li><a href="NSWindow.html#method-149">-tryToPerform:</a>
<li><a href="NSWindow.html#method-150">-unregisterDraggedTypes</a>
<li><a href="NSWindow.html#method-151">-update</a>
<li><a href="NSWindow.html#method-152">-useOptimizedDrawing:</a>
<li><a href="NSWindow.html#method-153">-validRequestorForSendType:returnType:</a>
<li><a href="NSWindow.html#method-154">-viewsNeedDisplay</a>
<li><a href="NSWindow.html#method-155">-windowController</a>
<li><a href="NSWindow.html#method-156">-windowHandle</a>
<li><a href="NSWindow.html#method-157">-windowNumber</a>
<li><a href="NSWindow.html#method-158">-worksWhenModal</a>
<li><a href="NSWindow.html#method-159">-zoom:</a>
</ul>
<hr>
<h2><a name="method-0">contentRectForFrameRect:</a></h2>
+ (NSRect) <b>contentRectForFrameRect:</b> (NSRect)frameRect<br>
<hr>
<h2><a name="method-1">defaultDepthLimit</a></h2>
+ (NSWindowDepth) <b>defaultDepthLimit</b><br>
<hr>
<h2><a name="method-2">frameRectForContentRect:</a></h2>
+ (NSRect) <b>frameRectForContentRect:</b> (NSRect)contentRect<br>
<hr>
<h2><a name="method-3">menuChanged:</a></h2>
+ (void) <b>menuChanged:</b> (NSMenu*)aMenu<br>
<hr>
<h2><a name="method-4">minFrameWidthWithTitle:styleMask:</a></h2>
+ (float) <b>minFrameWidthWithTitle:</b> (NSString*)aTitle <b>styleMask:</b> (unsigned int)aStyle<br>
<hr>
<h2><a name="method-5">removeFrameUsingName:</a></h2>
+ (void) <b>removeFrameUsingName:</b> (NSString*)name<br>
<hr>
<h2><a name="method-6">acceptsMouseMovedEvents</a></h2>
- (BOOL) <b>acceptsMouseMovedEvents</b><br>
<hr>
<h2><a name="method-7">areCursorRectsEnabled</a></h2>
- (BOOL) <b>areCursorRectsEnabled</b><br>
<hr>
<h2><a name="method-8">aspectRatio</a></h2>
- (NSSize) <b>aspectRatio</b><br>
<hr>
<h2><a name="method-9">backgroundColor</a></h2>
- (NSColor*) <b>backgroundColor</b><br>
<hr>
<h2><a name="method-10">backingType</a></h2>
- (NSBackingStoreType) <b>backingType</b><br>
<hr>
<h2><a name="method-11">becomeKeyWindow</a></h2>
- (void) <b>becomeKeyWindow</b><br>
<hr>
<h2><a name="method-12">becomeMainWindow</a></h2>
- (void) <b>becomeMainWindow</b><br>
<hr>
<h2><a name="method-13">cacheImageInRect:</a></h2>
- (void) <b>cacheImageInRect:</b> (NSRect)aRect<br>
<hr>
<h2><a name="method-14">canBecomeKeyWindow</a></h2>
- (BOOL) <b>canBecomeKeyWindow</b><br>
<hr>
<h2><a name="method-15">canBecomeMainWindow</a></h2>
- (BOOL) <b>canBecomeMainWindow</b><br>
<hr>
<h2><a name="method-16">canStoreColor</a></h2>
- (BOOL) <b>canStoreColor</b><br>
<hr>
<h2><a name="method-17">cascadeTopLeftFromPoint:</a></h2>
- (NSPoint) <b>cascadeTopLeftFromPoint:</b> (NSPoint)topLeftPoint<br>
<hr>
<h2><a name="method-18">center</a></h2>
- (void) <b>center</b><br>
<hr>
<h2><a name="method-19">close</a></h2>
- (void) <b>close</b><br>
<hr>
<h2><a name="method-20">constrainFrameRect:</a></h2>
- (NSRect) <b>constrainFrameRect:</b> (NSRect)frameRect<br>
<hr>
<h2><a name="method-21">contentView</a></h2>
- (id) <b>contentView</b><br>
<p>
Returns the NSWindow's content view.
</p>
<hr>
<h2><a name="method-22">convertBaseToScreen:</a></h2>
- (NSPoint) <b>convertBaseToScreen:</b> (NSPoint)aPoint<br>
<hr>
<h2><a name="method-23">convertScreenToBase:</a></h2>
- (NSPoint) <b>convertScreenToBase:</b> (NSPoint)aPoint<br>
<hr>
<h2><a name="method-24">currentEvent</a></h2>
- (NSEvent*) <b>currentEvent</b><br>
<hr>
<h2><a name="method-25">dataWithEPSInsideRect:</a></h2>
- (NSData*) <b>dataWithEPSInsideRect:</b> (NSRect)aRect<br>
<hr>
<h2><a name="method-26">deepestScreen</a></h2>
- (NSScreen*) <b>deepestScreen</b><br>
<hr>
<h2><a name="method-27">defaultButtonCell</a></h2>
- (NSButtonCell*) <b>defaultButtonCell</b><br>
<hr>
<h2><a name="method-28">delegate</a></h2>
- (id) <b>delegate</b><br>
<hr>
<h2><a name="method-29">deminiaturize:</a></h2>
- (void) <b>deminiaturize:</b> (id)sender<br>
<hr>
<h2><a name="method-30">depthLimit</a></h2>
- (NSWindowDepth) <b>depthLimit</b><br>
<hr>
<h2><a name="method-31">deviceDescription</a></h2>
- (NSDictionary*) <b>deviceDescription</b><br>
<hr>
<h2><a name="method-32">disableCursorRects</a></h2>
- (void) <b>disableCursorRects</b><br>
<hr>
<h2><a name="method-33">disableFlushWindow</a></h2>
- (void) <b>disableFlushWindow</b><br>
<hr>
<h2><a name="method-34">disableKeyEquivalentForDefaultButtonCell</a></h2>
- (void) <b>disableKeyEquivalentForDefaultButtonCell</b><br>
<hr>
<h2><a name="method-35">discardCachedImage</a></h2>
- (void) <b>discardCachedImage</b><br>
<hr>
<h2><a name="method-36">discardCursorRects</a></h2>
- (void) <b>discardCursorRects</b><br>
<hr>
<h2><a name="method-37">discardEventsMatchingMask:beforeEvent:</a></h2>
- (void) <b>discardEventsMatchingMask:</b> (unsigned int)mask <b>beforeEvent:</b> (NSEvent*)lastEvent<br>
<hr>
<h2><a name="method-38">display</a></h2>
- (void) <b>display</b><br>
<hr>
<h2><a name="method-39">displayIfNeeded</a></h2>
- (void) <b>displayIfNeeded</b><br>
<hr>
<h2><a name="method-40">dragImage:at:offset:event:pasteboard:source:slideBack:</a></h2>
- (void) <b>dragImage:</b> (NSImage*)anImage <b>at:</b> (NSPoint)aPoint <b>offset:</b> (NSSize)initialOffset <b>event:</b> (NSEvent *)theEvent <b>pasteboard:</b> (NSPasteboard*)pboard <b>source:</b> (id)sourceObject <b>slideBack:</b> (BOOL)slideBack<br>
<hr>
<h2><a name="method-41">enableCursorRects</a></h2>
- (void) <b>enableCursorRects</b><br>
<hr>
<h2><a name="method-42">enableFlushWindow</a></h2>
- (void) <b>enableFlushWindow</b><br>
<hr>
<h2><a name="method-43">enableKeyEquivalentForDefaultButtonCell</a></h2>
- (void) <b>enableKeyEquivalentForDefaultButtonCell</b><br>
<hr>
<h2><a name="method-44">endEditingFor:</a></h2>
- (void) <b>endEditingFor:</b> (id)anObject<br>
<hr>
<h2><a name="method-45">fax:</a></h2>
- (void) <b>fax:</b> (id)sender<br>
<hr>
<h2><a name="method-46">fieldEditor:</a></h2>
- (NSText*) <b>fieldEditor:</b> (BOOL)createFlag<br>
<hr>
<h2><a name="method-47">firstResponder</a></h2>
- (NSResponder*) <b>firstResponder</b><br>
<hr>
<h2><a name="method-48">flushWindow</a></h2>
- (void) <b>flushWindow</b><br>
<hr>
<h2><a name="method-49">flushWindowIfNeeded</a></h2>
- (void) <b>flushWindowIfNeeded</b><br>
<hr>
<h2><a name="method-50">frame</a></h2>
- (NSRect) <b>frame</b><br>
<hr>
<h2><a name="method-51">frameAutosaveName</a></h2>
- (NSString*) <b>frameAutosaveName</b><br>
<hr>
<h2><a name="method-52">gState</a></h2>
- (int) <b>gState</b><br>
<hr>
<h2><a name="method-53">hasDynamicDepthLimit</a></h2>
- (BOOL) <b>hasDynamicDepthLimit</b><br>
<hr>
<h2><a name="method-54">hidesOnDeactivate</a></h2>
- (BOOL) <b>hidesOnDeactivate</b><br>
<hr>
<h2><a name="method-55">initialFirstResponder</a></h2>
- (NSView*) <b>initialFirstResponder</b><br>
<hr>
<h2><a name="method-56">initWithContentRect:styleMask:backing:</a></h2>
- (id) <b>initWithContentRect:</b> (NSRect)contentRect <b>styleMask:</b> (unsigned int)styleMask <b>backing:</b> (NSBackingStoreType)backingType<br>
<p>
Initializes the receiver with a content rect of <var>contentRect</var>, a style mask of
<var>styleMask</var>, and a backing store type of <var>backingType</var>.
</p>
<p>
The style mask values are <code>NSTitledWindowMask</code>, for a window with a title,
<code>NSClosableWindowMask</code>, for a window with a close widget,
<code>NSMiniaturizableWindowMask</code>, for a window with a miniaturize widget,
and <code>NSResizableWindowMask</code>, for a window with a resizing widget. These
mask values can be OR'd in any combination.
</p>
<p>
Backing store values are <code>NSBackingStoreBuffered</code>,
<code>NSBackingStoreRetained</code> and <code>NSBackingStoreNonretained</code>.
</p>
<hr>
<h2><a name="method-57">initWithContentRect:styleMask:backing:defer:screen:</a></h2>
- (id) <b>initWithContentRect:</b> (NSRect)contentRect <b>styleMask:</b> (unsigned int)styleMask <b>backing:</b> (NSBackingStoreType)bufferingType <b>defer:</b> (BOOL)flag <b>screen:</b> (NSScreen*)aScreen<br>
<p>
Initializes the receiver with a content rect of <var>contentRect</var>, a style mask of
<var>styleMask</var>, a backing store type of <var>backingType</var> and a boolean
<var>flag</var>. <var>flag</var> specifies whether the window should be created now
(<code>NO</code>), or when it is displayed (<code>YES</code>).
</p>
<p>
The style mask values are <code>NSTitledWindowMask</code>, for a window with a title,
<code>NSClosableWindowMask</code>, for a window with a close widget,
<code>NSMiniaturizableWindowMask</code>, for a window with a miniaturize widget,
and <code>NSResizableWindowMask</code>, for a window with a resizing widget. These
mask values can be OR'd in any combination.
</p>
<p>
Backing store values are <code>NSBackingStoreBuffered</code>,
<code>NSBackingStoreRetained</code> and <code>NSBackingStoreNonretained</code>.
</p>
<hr>
<h2><a name="method-58">interfaceStyle</a></h2>
- (NSInterfaceStyle) <b>interfaceStyle</b><br>
<hr>
<h2><a name="method-59">invalidateCursorRectsForView:</a></h2>
- (void) <b>invalidateCursorRectsForView:</b> (NSView*)aView<br>
<hr>
<h2><a name="method-60">isAutodisplay</a></h2>
- (BOOL) <b>isAutodisplay</b><br>
<hr>
<h2><a name="method-61">isDocumentEdited</a></h2>
- (BOOL) <b>isDocumentEdited</b><br>
<hr>
<h2><a name="method-62">isExcludedFromWindowsMenu</a></h2>
- (BOOL) <b>isExcludedFromWindowsMenu</b><br>
<hr>
<h2><a name="method-63">isFlushWindowDisabled</a></h2>
- (BOOL) <b>isFlushWindowDisabled</b><br>
<hr>
<h2><a name="method-64">isKeyWindow</a></h2>
- (BOOL) <b>isKeyWindow</b><br>
<hr>
<h2><a name="method-65">isMainWindow</a></h2>
- (BOOL) <b>isMainWindow</b><br>
<hr>
<h2><a name="method-66">isMiniaturized</a></h2>
- (BOOL) <b>isMiniaturized</b><br>
<hr>
<h2><a name="method-67">isOneShot</a></h2>
- (BOOL) <b>isOneShot</b><br>
<hr>
<h2><a name="method-68">isReleasedWhenClosed</a></h2>
- (BOOL) <b>isReleasedWhenClosed</b><br>
<hr>
<h2><a name="method-69">isVisible</a></h2>
- (BOOL) <b>isVisible</b><br>
<hr>
<h2><a name="method-70">isZoomed;</a></h2>
- (BOOL) <b>isZoomed;</b><br>
<hr>
<h2><a name="method-71">keyDown:</a></h2>
- (void) <b>keyDown:</b> (NSEvent*)theEvent<br>
<hr>
<h2><a name="method-72">keyViewSelectionDirection</a></h2>
- (NSSelectionDirection) <b>keyViewSelectionDirection</b><br>
<hr>
<h2><a name="method-73">level</a></h2>
- (int) <b>level</b><br>
<hr>
<h2><a name="method-74">makeFirstResponder:</a></h2>
- (BOOL) <b>makeFirstResponder:</b> (NSResponder*)aResponder<br>
<hr>
<h2><a name="method-75">makeKeyAndOrderFront:</a></h2>
- (void) <b>makeKeyAndOrderFront:</b> (id)sender<br>
<hr>
<h2><a name="method-76">makeKeyWindow</a></h2>
- (void) <b>makeKeyWindow</b><br>
<hr>
<h2><a name="method-77">makeMainWindow</a></h2>
- (void) <b>makeMainWindow</b><br>
<hr>
<h2><a name="method-78">maxSize</a></h2>
- (NSSize) <b>maxSize</b><br>
<hr>
<h2><a name="method-79">miniaturize:</a></h2>
- (void) <b>miniaturize:</b> (id)sender<br>
<hr>
<h2><a name="method-80">miniwindowImage</a></h2>
- (NSImage*) <b>miniwindowImage</b><br>
<hr>
<h2><a name="method-81">miniwindowTitle</a></h2>
- (NSString*) <b>miniwindowTitle</b><br>
<hr>
<h2><a name="method-82">minSize</a></h2>
- (NSSize) <b>minSize</b><br>
<hr>
<h2><a name="method-83">mouseLocationOutsideOfEventStream</a></h2>
- (NSPoint) <b>mouseLocationOutsideOfEventStream</b><br>
<hr>
<h2><a name="method-84">nextEventMatchingMask:</a></h2>
- (NSEvent*) <b>nextEventMatchingMask:</b> (unsigned int)mask<br>
<hr>
<h2><a name="method-85">nextEventMatchingMask:untilDate:inMode:dequeue:</a></h2>
- (NSEvent*) <b>nextEventMatchingMask:</b> (unsigned int)mask <b>untilDate:</b> (NSDate*)expirationDate <b>inMode:</b> (NSString *)mode <b>dequeue:</b> (BOOL)dequeue<br>
<hr>
<h2><a name="method-86">orderBack:</a></h2>
- (void) <b>orderBack:</b> (id)sender<br>
<hr>
<h2><a name="method-87">orderFront:</a></h2>
- (void) <b>orderFront:</b> (id)sender<br>
<hr>
<h2><a name="method-88">orderFrontRegardless</a></h2>
- (void) <b>orderFrontRegardless</b><br>
<hr>
<h2><a name="method-89">orderOut:</a></h2>
- (void) <b>orderOut:</b> (id)sender<br>
<hr>
<h2><a name="method-90">orderWindow:relativeTo:</a></h2>
- (void) <b>orderWindow:</b> (NSWindowOrderingMode)place <b>relativeTo:</b> (int)otherWindowNumber<br>
<hr>
<h2><a name="method-91">performClose:</a></h2>
- (void) <b>performClose:</b> (id)sender<br>
<hr>
<h2><a name="method-92">performMiniaturize:</a></h2>
- (void) <b>performMiniaturize:</b> (id)sender<br>
<hr>
<h2><a name="method-93">performZoom:</a></h2>
- (void) <b>performZoom:</b> (id)sender<br>
<hr>
<h2><a name="method-94">postEvent:</a></h2>
- (void) <b>postEvent:</b> (NSEvent*)anEvent<br>
<hr>
<h2><a name="method-95">print:</a></h2>
- (void) <b>print:</b> (id)sender<br>
<hr>
<h2><a name="method-96">registerForDraggedTypes:</a></h2>
- (void) <b>registerForDraggedTypes:</b> (NSArray*)pboardTypes<br>
<hr>
<h2><a name="method-97">representedFilename</a></h2>
- (NSString*) <b>representedFilename</b><br>
<hr>
<h2><a name="method-98">resetCursorRects</a></h2>
- (void) <b>resetCursorRects</b><br>
<hr>
<h2><a name="method-99">resignKeyWindow</a></h2>
- (void) <b>resignKeyWindow</b><br>
<hr>
<h2><a name="method-100">resignMainWindow</a></h2>
- (void) <b>resignMainWindow</b><br>
<hr>
<h2><a name="method-101">resizeFlags</a></h2>
- (int) <b>resizeFlags</b><br>
<hr>
<h2><a name="method-102">resizeIncrements</a></h2>
- (NSSize) <b>resizeIncrements</b><br>
<hr>
<h2><a name="method-103">restoreCachedImage</a></h2>
- (void) <b>restoreCachedImage</b><br>
<hr>
<h2><a name="method-104">saveFrameUsingName:</a></h2>
- (void) <b>saveFrameUsingName:</b> (NSString*)name<br>
<hr>
<h2><a name="method-105">screen</a></h2>
- (NSScreen*) <b>screen</b><br>
<hr>
<h2><a name="method-106">selectKeyViewFollowingView:</a></h2>
- (void) <b>selectKeyViewFollowingView:</b> (NSView*)aView<br>
<hr>
<h2><a name="method-107">selectKeyViewPrecedingView:</a></h2>
- (void) <b>selectKeyViewPrecedingView:</b> (NSView*)aView<br>
<hr>
<h2><a name="method-108">selectNextKeyView:</a></h2>
- (void) <b>selectNextKeyView:</b> (id)sender<br>
<hr>
<h2><a name="method-109">selectPreviousKeyView:</a></h2>
- (void) <b>selectPreviousKeyView:</b> (id)sender<br>
<hr>
<h2><a name="method-110">sendEvent:</a></h2>
- (void) <b>sendEvent:</b> (NSEvent*)theEvent<br>
<hr>
<h2><a name="method-111">setAcceptsMouseMovedEvents:</a></h2>
- (void) <b>setAcceptsMouseMovedEvents:</b> (BOOL)flag<br>
<hr>
<h2><a name="method-112">setAspectRatio:</a></h2>
- (void) <b>setAspectRatio:</b> (NSSize)ratio<br>
<hr>
<h2><a name="method-113">setAutodisplay:</a></h2>
- (void) <b>setAutodisplay:</b> (BOOL)flag<br>
<hr>
<h2><a name="method-114">setBackgroundColor:</a></h2>
- (void) <b>setBackgroundColor:</b> (NSColor*)aColor<br>
<hr>
<h2><a name="method-115">setBackingType:</a></h2>
- (void) <b>setBackingType:</b> (NSBackingStoreType)backingType<br>
<hr>
<h2><a name="method-116">setContentSize:</a></h2>
- (void) <b>setContentSize:</b> (NSSize)aSize<br>
<hr>
<h2><a name="method-117">setContentView:</a></h2>
- (void) <b>setContentView:</b> (NSView*)aView<br>
<p>
Sets the window's content view to <var>aView</var>, replacing any previous content view.
</p>
<hr>
<h2><a name="method-118">setDefaultButtonCell:</a></h2>
- (void) <b>setDefaultButtonCell:</b> (NSButtonCell*)aButtonCell<br>
<hr>
<h2><a name="method-119">setDelegate:</a></h2>
- (void) <b>setDelegate:</b> (id)anObject<br>
<hr>
<h2><a name="method-120">setDepthLimit:</a></h2>
- (void) <b>setDepthLimit:</b> (NSWindowDepth)limit<br>
<hr>
<h2><a name="method-121">setDocumentEdited:</a></h2>
- (void) <b>setDocumentEdited:</b> (BOOL)flag<br>
<hr>
<h2><a name="method-122">setDynamicDepthLimit:</a></h2>
- (void) <b>setDynamicDepthLimit:</b> (BOOL)flag<br>
<hr>
<h2><a name="method-123">setExcludedFromWindowsMenu:</a></h2>
- (void) <b>setExcludedFromWindowsMenu:</b> (BOOL)flag<br>
<hr>
<h2><a name="method-124">setFrame:</a></h2>
- (void) <b>setFrame:</b> (NSRect)frameRect<br>
<hr>
<h2><a name="method-125">setFrameAutosaveName:</a></h2>
- (BOOL) <b>setFrameAutosaveName:</b> (NSString*)name<br>
<hr>
<h2><a name="method-126">setFrameFromString:</a></h2>
- (void) <b>setFrameFromString:</b> (NSString*)aString<br>
<hr>
<h2><a name="method-127">setFrameOrigin:</a></h2>
- (void) <b>setFrameOrigin:</b> (NSPoint)aPoint<br>
<hr>
<h2><a name="method-128">setFrameTopLeftPoint:</a></h2>
- (void) <b>setFrameTopLeftPoint:</b> (NSPoint)aPoint<br>
<hr>
<h2><a name="method-129">setFrameUsingName:</a></h2>
- (BOOL) <b>setFrameUsingName:</b> (NSString*)name<br>
<hr>
<h2><a name="method-130">setHidesOnDeactivate:</a></h2>
- (void) <b>setHidesOnDeactivate:</b> (BOOL)flag<br>
<hr>
<h2><a name="method-131">setInitialFirstResponder:</a></h2>
- (void) <b>setInitialFirstResponder:</b> (NSView*)aView<br>
<hr>
<h2><a name="method-132">setInterfaceStyle:</a></h2>
- (void) <b>setInterfaceStyle:</b> (NSInterfaceStyle)interfaceStyle<br>
<hr>
<h2><a name="method-133">setLevel:</a></h2>
- (void) <b>setLevel:</b> (int)newLevel<br>
<hr>
<h2><a name="method-134">setMaxSize:</a></h2>
- (void) <b>setMaxSize:</b> (NSSize)aSize<br>
<hr>
<h2><a name="method-135">setMiniwindowImage:</a></h2>
- (void) <b>setMiniwindowImage:</b> (NSImage*)anImage<br>
<hr>
<h2><a name="method-136">setMiniwindowTitle:</a></h2>
- (void) <b>setMiniwindowTitle:</b> (NSString*)aString<br>
<hr>
<h2><a name="method-137">setMinSize:</a></h2>
- (void) <b>setMinSize:</b> (NSSize)aSize<br>
<hr>
<h2><a name="method-138">setOneShot:</a></h2>
- (void) <b>setOneShot:</b> (BOOL)flag<br>
<hr>
<h2><a name="method-139">setReleasedWhenClosed:</a></h2>
- (void) <b>setReleasedWhenClosed:</b> (BOOL)flag<br>
<hr>
<h2><a name="method-140">setRepresentedFilename:</a></h2>
- (void) <b>setRepresentedFilename:</b> (NSString*)path<br>
<hr>
<h2><a name="method-141">setResizeIncrements:</a></h2>
- (void) <b>setResizeIncrements:</b> (NSSize)increments<br>
<hr>
<h2><a name="method-142">setTitle:</a></h2>
- (void) <b>setTitle:</b> (NSString*)aString<br>
<p>
Sets the window's title to the string <var>aString</var>.
</p>
<hr>
<h2><a name="method-143">setTitleWithRepresentedFilename:</a></h2>
- (void) <b>setTitleWithRepresentedFilename:</b> (NSString*)path<br>
<hr>
<h2><a name="method-144">setViewsNeedDisplay:</a></h2>
- (void) <b>setViewsNeedDisplay:</b> (BOOL)flag<br>
<hr>
<h2><a name="method-145">setWindowController:</a></h2>
- (void) <b>setWindowController:</b> (NSWindowController*)windowController<br>
<hr>
<h2><a name="method-146">stringWithSavedFrame</a></h2>
- (NSString*) <b>stringWithSavedFrame</b><br>
<hr>
<h2><a name="method-147">styleMask</a></h2>
- (unsigned int) <b>styleMask</b><br>
<hr>
<h2><a name="method-148">title</a></h2>
- (NSString*) <b>title</b><br>
<p>
Returns an NSString containing the text of the window's title.
</p>
<hr>
<h2><a name="method-149">tryToPerform:</a></h2>
- (BOOL) <b>tryToPerform:</b> (SEL)anAction<br>
<hr>
<h2><a name="method-150">unregisterDraggedTypes</a></h2>
- (void) <b>unregisterDraggedTypes</b><br>
<hr>
<h2><a name="method-151">update</a></h2>
- (void) <b>update</b><br>
<hr>
<h2><a name="method-152">useOptimizedDrawing:</a></h2>
- (void) <b>useOptimizedDrawing:</b> (BOOL)flag<br>
<hr>
<h2><a name="method-153">validRequestorForSendType:returnType:</a></h2>
- (id) <b>validRequestorForSendType:</b> (NSString*)sendType <b>returnType:</b> (NSString*)returnType<br>
<hr>
<h2><a name="method-154">viewsNeedDisplay</a></h2>
- (BOOL) <b>viewsNeedDisplay</b><br>
<hr>
<h2><a name="method-155">windowController</a></h2>
- (id) <b>windowController</b><br>
<hr>
<h2><a name="method-156">windowHandle</a></h2>
- (void*) <b>windowHandle</b><br>
<hr>
<h2><a name="method-157">windowNumber</a></h2>
- (int) <b>windowNumber</b><br>
<hr>
<h2><a name="method-158">worksWhenModal</a></h2>
- (BOOL) <b>worksWhenModal</b><br>
<hr>
<h2><a name="method-159">zoom:</a></h2>
- (void) <b>zoom:</b> (id)sender<br>
<hr>
</body>
</html>