Up
Authors
- Scott Christley (
scottc@net-community.com
)
-
- Felipe A. Rodriguez (
far@ix.netcom.com
)
-
- Richard Frith-Macdonald (
richard@brainstorm.co.uk
)
-
The window class
Copyright: (C) 1996 Free Software Foundation, Inc.
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.
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 setContentView:
method, and
accessed through the contentView
method.
setContentView:
replaces the default
content view created by NSWindow.
Other views may be added to the window by using the
content view's addSubview:
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.
A delegate can be specified for an NSWindow, which will
receive notifications of events pertaining to the
window. The delegate is set using
setDelegate:
, and can be retrieved using
delegate
. The delegate can restrain
resizing by implementing the
windowWillResize: toSize:
method, or
control the closing of the window by implementing
windowShouldClose:
.
- Declared in:
- AppKit/NSWindow.h
- Conforms to:
- NSCoding
Availability: OpenStep
Description forthcoming.
Instance Variables
Method summary
+ (NSRect)
contentRectForFrameRect: (NSRect)aRect
styleMask: (unsigned int)aStyle;
Availability: OpenStep
Description forthcoming.
+ (
NSWindowDepth)
defaultDepthLimit;
Availability: OpenStep
Description forthcoming.
+ (NSRect)
frameRectForContentRect: (NSRect)aRect
styleMask: (unsigned int)aStyle;
Availability: OpenStep
Description forthcoming.
+ (NSRect)
frameRectForScreenRect: (NSRect)aRect
styleMask: (unsigned int)aStyle;
Availability: OpenStep
Description forthcoming.
+ (void)
menuChanged: (
NSMenu*)aMenu;
Availability: MacOS-X 10.0.0
Description forthcoming.
+ (float)
minFrameWidthWithTitle: (NSString*)aTitle
styleMask: (unsigned int)aStyle;
Availability: OpenStep
Description forthcoming.
+ (void)
removeFrameUsingName: (NSString*)name;
Availability: OpenStep
Description forthcoming.
+ (NSRect)
screenRectForFrameRect: (NSRect)aRect
styleMask: (unsigned int)aStyle;
Availability: OpenStep
Description forthcoming.
- (BOOL)
acceptsMouseMovedEvents;
Availability: OpenStep
Description forthcoming.
- (float)
alphaValue;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (NSTimeInterval)
animationResizeTime: (NSRect)newFrame;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (BOOL)
areCursorRectsEnabled;
Availability: OpenStep
Description forthcoming.
- (NSSize)
aspectRatio;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (
NSColor*)
backgroundColor;
Availability: OpenStep
Description forthcoming.
- (void)
becomeKeyWindow;
Availability: OpenStep
Description forthcoming.
- (void)
becomeMainWindow;
Availability: OpenStep
Description forthcoming.
- (void)
cacheImageInRect: (NSRect)aRect;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (BOOL)
canBecomeKeyWindow;
Availability: OpenStep
Returns YES
if the receiver can be
made key. If this method returns NO
, the
window will not be made key. This implementation
returns YES
if the window is resizable
or has a title bar. You can override this method to
change it's behavior
- (BOOL)
canBecomeMainWindow;
Availability: OpenStep
Returns YES
if the receiver can be the
main window. If this method returns NO
,
the window will not become the main window. This
implementation returns YES
if
the window is resizable or has a title bar and is
visible and is not an NSPanel. You can override
this method to change it's behavior
- (BOOL)
canHide;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (BOOL)
canStoreColor;
Availability: OpenStep
Description forthcoming.
- (NSPoint)
cascadeTopLeftFromPoint: (NSPoint)topLeftPoint;
Availability: OpenStep
Description forthcoming.
- (void)
center;
Availability: OpenStep
Description forthcoming.
- (void)
close;
Availability: OpenStep
Description forthcoming.
- (NSRect)
constrainFrameRect: (NSRect)frameRect
toScreen: (
NSScreen*)screen;
Availability: OpenStep
Given a proposed frame rectangle, return a modified
version which will fit inside the screen
.
- (id)
contentView;
Availability: OpenStep
Description forthcoming.
- (NSPoint)
convertBaseToScreen: (NSPoint)aPoint;
Availability: OpenStep
Convert from a point in the base coordinate system
for the window to a point in the screen coordinate
system.
- (NSPoint)
convertScreenToBase: (NSPoint)aPoint;
Availability: OpenStep
Convert from a point in the screen coordinate
system to a point in the screen coordinate system of
the receiver.
- (
NSWindow*)
counterpart;
Availability: Gui
Description forthcoming.
- (
NSEvent*)
currentEvent;
Availability: OpenStep
Description forthcoming.
- (NSData*)
dataWithEPSInsideRect: (NSRect)rect;
Availability: OpenStep
Description forthcoming.
- (NSData*)
dataWithPDFInsideRect: (NSRect)aRect;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (
NSScreen*)
deepestScreen;
Availability: OpenStep
Returns the screen the window is on. Unlike
(apparently) OpenStep and MacOSX, GNUstep does
not support windows being split across multiple screens
- (
NSButtonCell*)
defaultButtonCell;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (id)
delegate;
Availability: OpenStep
Description forthcoming.
- (void)
deminiaturize: (id)sender;
Availability: OpenStep
Causes the window to deminiaturize. Normally you
would not call this method directly. A window is
automatically deminiaturized by the user via
a mouse click event. Does nothing it the window isn't
miniaturized.
- (
NSWindowDepth)
depthLimit;
Availability: OpenStep
Description forthcoming.
- (NSDictionary*)
deviceDescription;
Availability: OpenStep
Description forthcoming.
- (void)
disableCursorRects;
Availability: OpenStep
Description forthcoming.
- (void)
disableFlushWindow;
Availability: OpenStep
Description forthcoming.
- (void)
disableKeyEquivalentForDefaultButtonCell;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
discardCachedImage;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
discardCursorRects;
Availability: OpenStep
Description forthcoming.
- (void)
discardEventsMatchingMask: (unsigned int)mask
beforeEvent: (
NSEvent*)lastEvent;
Availability: OpenStep
Description forthcoming.
- (void)
display;
Availability: OpenStep
Description forthcoming.
- (void)
displayIfNeeded;
Availability: OpenStep
Description forthcoming.
- (void)
dragImage: (
NSImage*)anImage
at: (NSPoint)baseLocation
offset: (NSSize)initialOffset
event: (
NSEvent*)event
pasteboard: (
NSPasteboard*)pboard
source: (id)sourceObject
slideBack: (BOOL)slideFlag;
Availability: OpenStep
Description forthcoming.
- (NSArray*)
drawers;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
enableCursorRects;
Availability: OpenStep
Description forthcoming.
- (void)
enableFlushWindow;
Availability: OpenStep
Description forthcoming.
- (void)
enableKeyEquivalentForDefaultButtonCell;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
endEditingFor: (id)anObject;
Availability: OpenStep
Description forthcoming.
- (void)
fax: (id)sender;
Availability: OpenStep
Description forthcoming.
- (
NSText*)
fieldEditor: (BOOL)createFlag
forObject: (id)anObject;
Availability: OpenStep
Description forthcoming.
- (
NSResponder*)
firstResponder;
Availability: OpenStep
Description forthcoming.
- (void)
flushWindow;
Availability: OpenStep
Flush all drawing in the windows buffer to the screen
unless the window is not buffered or flushing is not
enabled.
- (void)
flushWindowIfNeeded;
Availability: OpenStep
Description forthcoming.
- (NSRect)
frame;
Availability: OpenStep
Description forthcoming.
- (NSString*)
frameAutosaveName;
Availability: OpenStep
Description forthcoming.
- (int)
gState;
Availability: OpenStep
Description forthcoming.
- (BOOL)
hasDynamicDepthLimit;
Availability: OpenStep
Description forthcoming.
- (BOOL)
hasShadow;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (BOOL)
hidesOnDeactivate;
Availability: OpenStep
Description forthcoming.
- (id)
initWithContentRect: (NSRect)contentRect
styleMask: (unsigned int)aStyle
backing: (
NSBackingStoreType)bufferingType
defer: (BOOL)flag;
Availability: OpenStep
Initializes the receiver with a content rect
of contentRect, a style mask of
styleMask, and a backing store type of
backingType.
The style mask values are
NSTitledWindowMask
, for a window with
a title, NSClosableWindowMask
, for a
window with a close widget,
NSMiniaturizableWindowMask
, for a
window with a miniaturize widget, and
NSResizableWindowMask
, for a window
with a resizing widget. These mask values can be
OR'd in any combination.
Backing store values are
NSBackingStoreBuffered
,
NSBackingStoreRetained
and
NSBackingStoreNonretained
.
- (id)
initWithContentRect: (NSRect)contentRect
styleMask: (unsigned int)aStyle
backing: (
NSBackingStoreType)bufferingType
defer: (BOOL)flag
screen: (
NSScreen*)aScreen;
Availability: OpenStep
Initializes the receiver with a content rect
of contentRect, a style mask of
styleMask, a backing store type of
backingType and a boolean
flag. flag specifies whether
the window should be created now (NO
),
or when it is displayed (YES
).
The style mask values are
NSTitledWindowMask
, for a window with
a title, NSClosableWindowMask
, for a
window with a close widget,
NSMiniaturizableWindowMask
, for a
window with a miniaturize widget, and
NSResizableWindowMask
, for a window
with a resizing widget. These mask values can be
OR'd in any combination.
Backing store values are
NSBackingStoreBuffered
,
NSBackingStoreRetained
and
NSBackingStoreNonretained
.
- (id)
initWithWindowRef: (void*)windowRef;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (
NSView*)
initialFirstResponder;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
invalidateCursorRectsForView: (
NSView*)aView;
Availability: OpenStep
Description forthcoming.
- (BOOL)
isAutodisplay;
Availability: OpenStep
Description forthcoming.
- (BOOL)
isDocumentEdited;
Availability: OpenStep
Description forthcoming.
- (BOOL)
isExcludedFromWindowsMenu;
Availability: OpenStep
Description forthcoming.
- (BOOL)
isFlushWindowDisabled;
Availability: OpenStep
Description forthcoming.
- (BOOL)
isKeyWindow;
Availability: OpenStep
Description forthcoming.
- (BOOL)
isMainWindow;
Availability: OpenStep
Description forthcoming.
- (BOOL)
isMiniaturized;
Availability: OpenStep
Description forthcoming.
- (BOOL)
isOneShot;
Availability: OpenStep
Description forthcoming.
- (BOOL)
isOpaque;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (BOOL)
isReleasedWhenClosed;
Availability: OpenStep
Description forthcoming.
- (BOOL)
isVisible;
Availability: OpenStep
Description forthcoming.
- (void)
keyDown: (
NSEvent*)theEvent;
Availability: OpenStep
Description forthcoming.
- (
NSSelectionDirection)
keyViewSelectionDirection;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (int)
level;
Availability: OpenStep
Description forthcoming.
- (BOOL)
makeFirstResponder: (
NSResponder*)aResponder;
Availability: OpenStep
This method attempts to make
aResponder the
first responder.
If
aResponder is
already the first responder, this method has no
effect and simply returns
YES
.
Otherwise, the method sends a
-resignFirstResponder
message to the current first responder (if there is
one) and immediately returns
NO
if the
current first responder refuses to resign.
Then the method asks
aResponder to become
first responder by sending it a
-becomeFirstResponder
message, and if that returns
YES
then
this method immediately returns
YES
.
However, if that returns
NO
, the
receiver is made the first responder by sending it
a
-becomeFirstResponder
message, and this method returns
NO
.
If
aResponder is neither
nil
nor an instance of NSResponder (or
of a subclass of NSResponder) then behavior is undefined
(though the current GNUstep implementation just
returns
NO
).
- (void)
makeKeyAndOrderFront: (id)sender;
Availability: OpenStep
Description forthcoming.
- (void)
makeKeyWindow;
Availability: OpenStep
Description forthcoming.
- (void)
makeMainWindow;
Availability: OpenStep
Description forthcoming.
- (NSSize)
maxSize;
Availability: OpenStep
Description forthcoming.
- (NSSize)
minSize;
Availability: OpenStep
Description forthcoming.
- (void)
miniaturize: (id)sender;
Availability: OpenStep
Causes the window to miniaturize, that is the window
is removed from the screen and it's counterpart
(mini)window is displayed. Does nothing if the
window can't be miniaturized (eg. because it's
already miniaturized).
- (
NSImage*)
miniwindowImage;
Availability: OpenStep
Description forthcoming.
- (NSString*)
miniwindowTitle;
Availability: OpenStep
Description forthcoming.
- (NSPoint)
mouseLocationOutsideOfEventStream;
Availability: OpenStep
Description forthcoming.
- (
NSEvent*)
nextEventMatchingMask: (unsigned int)mask;
Availability: OpenStep
Description forthcoming.
- (
NSEvent*)
nextEventMatchingMask: (unsigned int)mask
untilDate: (NSDate*)expiration
inMode: (NSString*)mode
dequeue: (BOOL)deqFlag;
Availability: OpenStep
Description forthcoming.
- (void)
orderBack: (id)sender;
Availability: OpenStep
Orders the window to the back of its level.
Equivalent to
-orderWindow:
NSWindowBelow relativeTo: 0.
- (void)
orderFront: (id)sender;
Availability: OpenStep
If the application is active, orders the window to the
front in its level. If the application is not active,
the window is ordered in as far forward as possible in
its level without being ordered in front of the key or
main window of the currently active app. The current
key and main window status is not changed. Equivalent
to
-orderWindow:
NSWindowAbove relativeTo: 0.
- (void)
orderFrontRegardless;
Availability: OpenStep
Orders the window to the front in its level (even in
front of the key and main windows of the current app)
regardless of whether the app is current or not.
This method should only be used in rare cases where
the app is cooperating with another app that is
displaying data for it. The current key and main
window status is not changed.
- (void)
orderOut: (id)sender;
Availability: OpenStep
Orders the window out from the screen. Equivalent to
-orderWindow:
NSWindowOut relativeTo: 0.
- (void)
orderWindow: (
NSWindowOrderingMode)place
relativeTo: (int)otherWin;
Availability: OpenStep
If place is NSWindowOut, removes the window
from the screen. If place is
NSWindowAbove, places the window directly
above otherWin, or directly above all
windows in its level if otherWin is 0.
If place is NSWindowBelow, places the
window directly below otherWin, or
directly below all windows in its level if
otherWin is 0.
If place is NSWindowAbove or NSWindowBelow
and the application is hidden, the application is
unhidden.
- (void)
performClose: (id)sender;
Availability: OpenStep
Description forthcoming.
- (void)
performMiniaturize: (id)sender;
Availability: OpenStep
Miniaturize the receiver... as
long as its style mask includes
NSMiniaturizableWindowMask (and
as
long as the receiver is not an icon
or mini window itsself). Calls
-miniaturize:
to do this.
Beeps if the window can't be
miniaturised.
Should ideally provide
visual feedback (highlighting the miniaturize button
as if it had been clicked) first... but that's not yet
implemented.
- (void)
performZoom: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
postEvent: (
NSEvent*)event
atStart: (BOOL)flag;
Availability: OpenStep
Description forthcoming.
- (void)
print: (id)sender;
Availability: OpenStep
Description forthcoming.
- (void)
registerForDraggedTypes: (NSArray*)newTypes;
Availability: OpenStep
Description forthcoming.
- (NSString*)
representedFilename;
Availability: OpenStep
Description forthcoming.
- (void)
resetCursorRects;
Availability: OpenStep
Description forthcoming.
- (void)
resignKeyWindow;
Availability: OpenStep
Description forthcoming.
- (void)
resignMainWindow;
Availability: OpenStep
Description forthcoming.
- (int)
resizeFlags;
Availability: OpenStep
Description forthcoming.
- (NSSize)
resizeIncrements;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
restoreCachedImage;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
saveFrameUsingName: (NSString*)name;
Availability: OpenStep
Description forthcoming.
- (
NSScreen*)
screen;
Availability: OpenStep
Returns the screen the window is on.
- (void)
selectKeyViewFollowingView: (
NSView*)aView;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
selectKeyViewPrecedingView: (
NSView*)aView;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
selectNextKeyView: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
selectPreviousKeyView: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
sendEvent: (
NSEvent*)theEvent;
Availability: OpenStep
Handles mouse and other events sent to the receiver
by NSApplication. Do not invoke this method directly.
- (void)
setAcceptsMouseMovedEvents: (BOOL)flag;
Availability: OpenStep
Description forthcoming.
- (void)
setAlphaValue: (float)windowAlpha;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setAspectRatio: (NSSize)ratio;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setAutodisplay: (BOOL)flag;
Availability: OpenStep
Description forthcoming.
- (void)
setBackgroundColor: (
NSColor*)color;
Availability: OpenStep
Description forthcoming.
- (void)
setBackingType: (
NSBackingStoreType)type;
Availability: OpenStep
Description forthcoming.
- (void)
setCanHide: (BOOL)flag;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setContentSize: (NSSize)aSize;
Availability: OpenStep
Description forthcoming.
- (void)
setContentView: (
NSView*)aView;
Availability: OpenStep
Sets the window's content view to aView,
replacing any previous content view.
- (void)
setDefaultButtonCell: (
NSButtonCell*)aCell;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setDelegate: (id)anObject;
Availability: OpenStep
Description forthcoming.
- (void)
setDepthLimit: (
NSWindowDepth)limit;
Availability: OpenStep
Description forthcoming.
- (void)
setDocumentEdited: (BOOL)flag;
Availability: OpenStep
Description forthcoming.
- (void)
setDynamicDepthLimit: (BOOL)flag;
Availability: OpenStep
Description forthcoming.
- (void)
setExcludedFromWindowsMenu: (BOOL)flag;
Availability: OpenStep
Description forthcoming.
- (void)
setFrame: (NSRect)frameRect
display: (BOOL)flag;
Availability: OpenStep
Description forthcoming.
- (void)
setFrame: (NSRect)frameRect
display: (BOOL)displayFlag
animate: (BOOL)animationFlag;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (BOOL)
setFrameAutosaveName: (NSString*)name;
Availability: OpenStep
Description forthcoming.
- (void)
setFrameFromString: (NSString*)string;
Availability: OpenStep
Description forthcoming.
- (void)
setFrameOrigin: (NSPoint)aPoint;
Availability: OpenStep
Description forthcoming.
- (void)
setFrameTopLeftPoint: (NSPoint)aPoint;
Availability: OpenStep
Description forthcoming.
- (BOOL)
setFrameUsingName: (NSString*)name;
Availability: OpenStep
Description forthcoming.
- (BOOL)
setFrameUsingName: (NSString*)name
force: (BOOL)force;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setHasShadow: (BOOL)hasShadow;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setHidesOnDeactivate: (BOOL)flag;
Availability: OpenStep
Description forthcoming.
- (void)
setInitialFirstResponder: (
NSView*)aView;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setLevel: (int)newLevel;
Availability: OpenStep
Description forthcoming.
- (void)
setMaxSize: (NSSize)aSize;
Availability: OpenStep
Description forthcoming.
- (void)
setMinSize: (NSSize)aSize;
Availability: OpenStep
Description forthcoming.
- (void)
setMiniwindowImage: (
NSImage*)image;
Availability: OpenStep
Description forthcoming.
- (void)
setMiniwindowTitle: (NSString*)title;
Availability: OpenStep
Description forthcoming.
- (void)
setOneShot: (BOOL)flag;
Availability: OpenStep
Description forthcoming.
- (void)
setOpaque: (BOOL)isOpaque;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setReleasedWhenClosed: (BOOL)flag;
Availability: OpenStep
Description forthcoming.
- (void)
setRepresentedFilename: (NSString*)aString;
Availability: OpenStep
Description forthcoming.
- (void)
setResizeIncrements: (NSSize)aSize;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setShowsResizeIndicator: (BOOL)show;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setTitle: (NSString*)aString;
Availability: OpenStep
Sets the window's title to the string
aString.
- (void)
setTitleWithRepresentedFilename: (NSString*)aString;
Availability: OpenStep
Description forthcoming.
- (void)
setViewsNeedDisplay: (BOOL)flag;
Availability: OpenStep
Description forthcoming.
- (void)
setWindowController: (
NSWindowController*)windowController;
Availability: OpenStep
Description forthcoming.
- (BOOL)
showsResizeIndicator;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (NSString*)
stringWithSavedFrame;
Availability: OpenStep
Description forthcoming.
- (unsigned int)
styleMask;
Availability: OpenStep
Description forthcoming.
- (NSString*)
title;
Availability: OpenStep
Returns an NSString containing the text of the
window's title.
- (BOOL)
tryToPerform: (SEL)anAction
with: (id)anObject;
Availability: OpenStep
Description forthcoming.
- (void)
unregisterDraggedTypes;
Availability: OpenStep
Description forthcoming.
- (void)
update;
Availability: OpenStep
Description forthcoming.
- (void)
useOptimizedDrawing: (BOOL)flag;
Availability: OpenStep
Description forthcoming.
- (id)
validRequestorForSendType: (NSString*)sendType
returnType: (NSString*)returnType;
Availability: OpenStep
Description forthcoming.
- (BOOL)
viewsNeedDisplay;
Availability: OpenStep
Description forthcoming.
- (id)
windowController;
Availability: OpenStep
Description forthcoming.
- (void*)
windowHandle;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (int)
windowNumber;
Availability: OpenStep
Description forthcoming.
- (void*)
windowRef;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (BOOL)
worksWhenModal;
Availability: OpenStep
Description forthcoming.
- (void)
zoom: (id)sender;
Availability: MacOS-X 10.0.0
Description forthcoming.
Instance Variables for NSWindow Class
@protected float _alphaValue;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSString* _autosaveName;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSColor* _backgroundColor;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSBackingStoreType _backingType;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSCachedImageRep* _cachedImage;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSPoint _cachedImageOrigin;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected id _contentView;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected int _counterpart;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected id _defaultButtonCell;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected id _delegate;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSWindowDepth _depthLimit;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected unsigned int _disableFlushWindow;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected struct GSWindowFlagsType _f;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected id _fieldEditor;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected id _firstResponder;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSRect _frame;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected id _futureFirstResponder;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected int _gstate;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSSize _increments;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSView* _initialFirstResponder;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected int _lastDragOperationMask;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected id _lastDragView;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSPoint _lastPoint;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected id _lastView;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSSize _maximumSize;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSImage* _miniaturizedImage;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSString* _miniaturizedTitle;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSSize _minimumSize;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSRect _rectNeedingFlush;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSMutableArray* _rectsBeingDrawn;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSString* _representedFilename;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected void* _reserved_1;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected void* _reserved_2;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected void* _reserved_s;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSScreen* _screen;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSSelectionDirection _selectionDirection;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected unsigned int _styleMask;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSToolbar* _toolbar;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected id _toolbarView;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSWindowController* _windowController;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected int _windowLevel;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected int _windowNum;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSString* _windowTitle;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected GSWindowDecorationView* _wv;
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
- Declared in:
- AppKit/NSWindow.h
Availability: OpenStep
Description forthcoming.
Method summary
- (void)
windowDidBecomeKey: (NSNotification*)aNotification;
Availability: OpenStep
Description forthcoming.
- (void)
windowDidBecomeMain: (NSNotification*)aNotification;
Availability: OpenStep
Description forthcoming.
- (void)
windowDidChangeScreen: (NSNotification*)aNotification;
Availability: OpenStep
Description forthcoming.
- (void)
windowDidDeminiaturize: (NSNotification*)aNotification;
Availability: OpenStep
Description forthcoming.
- (void)
windowDidExpose: (NSNotification*)aNotification;
Availability: OpenStep
Description forthcoming.
- (void)
windowDidMiniaturize: (NSNotification*)aNotification;
Availability: OpenStep
Description forthcoming.
- (void)
windowDidMove: (NSNotification*)aNotification;
Availability: OpenStep
Description forthcoming.
- (void)
windowDidResignKey: (NSNotification*)aNotification;
Availability: OpenStep
Description forthcoming.
- (void)
windowDidResignMain: (NSNotification*)aNotification;
Availability: OpenStep
Description forthcoming.
- (void)
windowDidResize: (NSNotification*)aNotification;
Availability: OpenStep
Description forthcoming.
- (void)
windowDidUpdate: (NSNotification*)aNotification;
Availability: OpenStep
Description forthcoming.
- (BOOL)
windowShouldClose: (id)sender;
Availability: OpenStep
Description forthcoming.
- (BOOL)
windowShouldZoom: (
NSWindow*)sender
toFrame: (NSRect)aFrame;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
windowWillClose: (NSNotification*)aNotification;
Availability: OpenStep
Description forthcoming.
- (void)
windowWillMiniaturize: (NSNotification*)aNotification;
Availability: OpenStep
Description forthcoming.
- (void)
windowWillMove: (NSNotification*)aNotification;
Availability: OpenStep
Description forthcoming.
- (NSSize)
windowWillResize: (
NSWindow*)sender
toSize: (NSSize)frameSize;
Availability: OpenStep
Description forthcoming.
- (id)
windowWillReturnFieldEditor: (
NSWindow*)sender
toObject: (id)client;
Availability: OpenStep
Description forthcoming.
- (NSRect)
windowWillUseStandardFrame: (
NSWindow*)sender
defaultFrame: (NSRect)aFrame;
Availability: MacOS-X 10.0.0
Description forthcoming.
- Declared in:
- AppKit/NSWindow.h
Availability: Gui
Description forthcoming.
Method summary
- (void)
_captureMouse: (id)sender;
Availability: Gui
Warning the underscore at the start of the
name of this method indicates that it is private, for
internal use only, and you should not use the
method in your code.
- (void)
_initDefaults;
Availability: Gui
Warning the underscore at the start of the
name of this method indicates that it is private, for
internal use only, and you should not use the
method in your code.
- (void)
_releaseMouse: (id)sender;
Availability: Gui
Warning the underscore at the start of the
name of this method indicates that it is private, for
internal use only, and you should not use the
method in your code.
- (void)
_setVisible: (BOOL)flag;
Availability: Gui
Warning the underscore at the start of the
name of this method indicates that it is private, for
internal use only, and you should not use the
method in your code.
- Declared in:
- AppKit/NSWindow.h
Availability: Gui
Description forthcoming.
Method summary
- (id)
_futureFirstResponder;
Availability: Gui
Warning the underscore at the start of the
name of this method indicates that it is private, for
internal use only, and you should not use the
method in your code.
Up