Up

NSView

Authors

Scott Christley( scottc@net-community.com )
Felipe A. Rodriguez( far@ix.netcom.com )
Ovidiu Predescu( ovidiu@net-community.com )
Richard Frith-Macdonald( richard@brainstorm.co.uk )
The view class which encapsulates all drawing functionality

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


Contents -

  1. NSView
  2. Software documentation for the NSView(PrivateMethods) category

NSView

NSView is an abstract class which provides facilities for drawing in a window and receiving events. It is the superclass of many of the visual elements of the GUI.

In order to display itself, a view must be placed in a window (represented by an NSWindow object). Within the window is a hierarchy of NSViews, headed by the window's content view. Every other view in a window is a descendant of this view.

Subclasses can override drawRect: in order to implement their appearance. Other methods of NSView and NSResponder can also be overridden to handle user generated events.

NSView : NSResponder

Declared in:
AppKit/NSView.h
Standards:

Method summary

defaultMenu

+ (NSMenu*) defaultMenu;
Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


focusView

+ (NSView*) focusView;
Standards: GNUstep, MacOS-X, OpenStep

Return the view at the top of graphics contexts stack or nil if none is focused.


acceptsFirstMouse:

- (BOOL) acceptsFirstMouse: (NSEvent*)theEvent;
Standards: GNUstep, MacOS-X, OpenStep

Returns YES if the view object will accept the first click received when in an inactive window, and NO otherwise.


addCursorRect:cursor:

- (void) addCursorRect: (NSRect)aRect cursor: (NSCursor*)anObject;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


addSubview:

- (void) addSubview: (NSView*)aView;
Standards: GNUstep, MacOS-X, OpenStep

Adds aView as a subview of the receiver.


addSubview:positioned:relativeTo:

- (void) addSubview: (NSView*)aView positioned: (NSWindowOrderingMode)place relativeTo: (NSView*)otherView;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


addToPageSetup

- (void) addToPageSetup;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


addToolTipRect:owner:userData:

- (NSToolTipTag) addToolTipRect: (NSRect)aRect owner: (id)anObject userData: (void*)data;
Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


addTrackingRect:owner:userData:assumeInside:

- (NSTrackingRectTag) addTrackingRect: (NSRect)aRect owner: (id)anObject userData: (void*)data assumeInside: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


adjustPageHeightNew:top:bottom:limit:

- (void) adjustPageHeightNew: (float*)newBottom top: (float)oldTop bottom: (float)oldBottom limit: (float)bottomLimit;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


adjustPageWidthNew:left:right:limit:

- (void) adjustPageWidthNew: (float*)newRight left: (float)oldLeft right: (float)oldRight limit: (float)rightLimit;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


adjustScroll:

- (NSRect) adjustScroll: (NSRect)newVisible;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


allocateGState

- (void) allocateGState;
Standards: GNUstep, MacOS-X, OpenStep

Tell the view to maintain a private gstate object which encapsulates all the information about drawing, such as coordinate transforms, line widths, etc. If you do not invoke this method, a gstate object is constructed each time the view is lockFocused. Allocating a private gstate may improve the performance of views that are focused a lot and have a lot of customized drawing parameters.

View subclasses should override the setUpGstate method to set these custom parameters.


ancestorSharedWithView:

- (NSView*) ancestorSharedWithView: (NSView*)aView;
Standards: GNUstep, MacOS-X, OpenStep

Returns self if aView is the receiver or aView is a subview of the receiver, the ancestor view shared by aView and the receiver, if any, aView if it is an ancestor of the receiver, otherwise returns nil.


autoresizesSubviews

- (BOOL) autoresizesSubviews;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


autoresizingMask

- (unsigned int) autoresizingMask;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


autoscroll:

- (BOOL) autoscroll: (NSEvent*)theEvent;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


beginDocument

- (void) beginDocument;
Standards: NotOpenStep, GNUstep, MacOS-X

Writes header and job information for the PostScript document. This includes at a minimum, PostScript header information. It may also include job setup information if the output is intended for a printer (i.e. not an EPS file). Most of the information for writing the header comes from the NSPrintOperation and NSPrintInfo objects associated with the current print operation. There isn't normally anything that the program needs to override at the beginning of a document, although if there is additional setup that needs to be done, you can override the NSView's methods endHeaderComments, endPrologue, beginSetup, and/or endSetup. This method calls the above methods in the listed order before or after writing the required information. For an EPS operation, the beginSetup and endSetup methods aren't used.


beginPage:label:bBox:fonts:

- (void) beginPage: (int)ordinalNum label: (NSString*)aString bBox: (NSRect)pageRect fonts: (NSString*)fontNames;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


beginPageInRect:atPlacement:

- (void) beginPageInRect: (NSRect)aRect atPlacement: (NSPoint)location;
Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


beginPageSetupRect:placement:

- (void) beginPageSetupRect: (NSRect)aRect placement: (NSPoint)location;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


beginPrologueBBox:creationDate:createdBy:fonts:forWhom:pages:title:

- (void) beginPrologueBBox: (NSRect)bBox creationDate: (NSString*)dateCreated createdBy: (NSString*)anApplication fonts: (NSString*)fontNames forWhom: (NSString*)user pages: (int)numPages title: (NSString*)aTitle;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


beginSetup

- (void) beginSetup;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


beginTrailer

- (void) beginTrailer;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


bounds

- (NSRect) bounds;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


boundsRotation

- (float) boundsRotation;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


canDraw

- (BOOL) canDraw;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


centerScanRect:

- (NSRect) centerScanRect: (NSRect)aRect;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


convertPoint:fromView:

- (NSPoint) convertPoint: (NSPoint)aPoint fromView: (NSView*)aView;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


convertPoint:toView:

- (NSPoint) convertPoint: (NSPoint)aPoint toView: (NSView*)aView;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


convertRect:fromView:

- (NSRect) convertRect: (NSRect)aRect fromView: (NSView*)aView;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


convertRect:toView:

- (NSRect) convertRect: (NSRect)aRect toView: (NSView*)aView;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


convertSize:fromView:

- (NSSize) convertSize: (NSSize)aSize fromView: (NSView*)aView;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


convertSize:toView:

- (NSSize) convertSize: (NSSize)aSize toView: (NSView*)aView;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


dataWithEPSInsideRect:

- (NSData*) dataWithEPSInsideRect: (NSRect)aRect;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


dataWithPDFInsideRect:

- (NSData*) dataWithPDFInsideRect: (NSRect)aRect;
Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


didAddSubview:

- (void) didAddSubview: (NSView*)subview;
Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


discardCursorRects

- (void) discardCursorRects;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


display

- (void) display;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


displayIfNeeded

- (void) displayIfNeeded;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


displayIfNeededIgnoringOpacity

- (void) displayIfNeededIgnoringOpacity;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


displayIfNeededInRect:

- (void) displayIfNeededInRect: (NSRect)aRect;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


displayIfNeededInRectIgnoringOpacity:

- (void) displayIfNeededInRectIgnoringOpacity: (NSRect)aRect;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


displayRect:

- (void) displayRect: (NSRect)rect;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


displayRectIgnoringOpacity:

- (void) displayRectIgnoringOpacity: (NSRect)aRect;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


dragFile:fromRect:slideBack:event:

- (BOOL) dragFile: (NSString*)filename fromRect: (NSRect)rect slideBack: (BOOL)slideFlag event: (NSEvent*)event;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


dragImage:at:offset:event:pasteboard:source:slideBack:

- (void) dragImage: (NSImage*)anImage at: (NSPoint)viewLocation offset: (NSSize)initialOffset event: (NSEvent*)event pasteboard: (NSPasteboard*)pboard source: (id)sourceObject slideBack: (BOOL)slideFlag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


drawPageBorderWithSize:

- (void) drawPageBorderWithSize: (NSSize)borderSize;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


drawRect:

- (void) drawRect: (NSRect)rect;
Standards: GNUstep, MacOS-X, OpenStep

This method is invoked to handle drawing inside the view. The default NSView's implementation does nothing; subclasses might override it to draw something inside the view. Since NSView's implementation is guaranteed to be empty, you should not call super's implementation when you override it in subclasses. drawRect: is invoked when the focus has already been locked on the view; you can use arbitrary postscript functions in drawRect: to draw inside your view; the coordinate system in which you draw is the view's own coordinate system (this means for example that you should refer to the rectangle covered by the view using its bounds, and not its frame). The argument of drawRect: is the rectangle which needs to be redrawn. In a lossy implementation, you can ignore the argument and redraw the whole view; if you are aiming at performance, you may want to redraw only what is inside the rectangle which needs to be redrawn; this usually improves drawing performance considerably.


drawSheetBorderWithSize:

- (void) drawSheetBorderWithSize: (NSSize)borderSize;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


enclosingScrollView

- (NSScrollView*) enclosingScrollView;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


endDocument

- (void) endDocument;
Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


endHeaderComments

- (void) endHeaderComments;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


endPage

- (void) endPage;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


endPageSetup

- (void) endPageSetup;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


endPrologue

- (void) endPrologue;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


endSetup

- (void) endSetup;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


endTrailer

- (void) endTrailer;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


fax:

- (void) fax: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


frame

- (NSRect) frame;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


frameRotation

- (float) frameRotation;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


gState

- (int) gState;
Standards: GNUstep, MacOS-X, OpenStep

Returns an identifier that represents the view's gstate object, which is used to encapsulate drawing information about the view. Most of the time a gstate object is created from scratch when the view is focused, so if the view is not currently focused or allocateGState has not been called, then this method will


heightAdjustLimit

- (float) heightAdjustLimit;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


hitTest:

- (NSView*) hitTest: (NSPoint)aPoint;
Standards: GNUstep, MacOS-X, OpenStep

Returns the subview, lowest in the receiver's hierarchy, which contains aPoint


initWithFrame:

- (id) initWithFrame: (NSRect)frameRect;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


isDescendantOf:

- (BOOL) isDescendantOf: (NSView*)aView;
Standards: GNUstep, MacOS-X, OpenStep

Returns YES if aView is an ancestor of the receiver.


isFlipped

- (BOOL) isFlipped;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


isOpaque

- (BOOL) isOpaque;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


isRotatedFromBase

- (BOOL) isRotatedFromBase;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


isRotatedOrScaledFromBase

- (BOOL) isRotatedOrScaledFromBase;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


knowsPageRange:

- (BOOL) knowsPageRange: (NSRange*)range;
Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


knowsPagesFirst:last:

- (BOOL) knowsPagesFirst: (int*)firstPageNum last: (int*)lastPageNum;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


locationOfPrintRect:

- (NSPoint) locationOfPrintRect: (NSRect)aRect;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


lockFocus

- (void) lockFocus;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


lockFocusIfCanDraw

- (BOOL) lockFocusIfCanDraw;
Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


menuForEvent:

- (NSMenu*) menuForEvent: (NSEvent*)theEvent;
Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


mouse:inRect:

- (BOOL) mouse: (NSPoint)aPoint inRect: (NSRect)aRect;
Standards: GNUstep, MacOS-X, OpenStep

Returns whether or not aPoint lies within aRect


needsDisplay

- (BOOL) needsDisplay;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


nextKeyView

- (NSView*) nextKeyView;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


nextValidKeyView

- (NSView*) nextValidKeyView;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


opaqueAncestor

- (NSView*) opaqueAncestor;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


performKeyEquivalent:

- (BOOL) performKeyEquivalent: (NSEvent*)theEvent;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


performMnemonic:

- (BOOL) performMnemonic: (NSString*)aString;
Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


postsBoundsChangedNotifications

- (BOOL) postsBoundsChangedNotifications;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


postsFrameChangedNotifications

- (BOOL) postsFrameChangedNotifications;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


previousKeyView

- (NSView*) previousKeyView;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


previousValidKeyView

- (NSView*) previousValidKeyView;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


print:

- (void) print: (id)sender;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


printJobTitle

- (NSString*) printJobTitle;
Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


rectForPage:

- (NSRect) rectForPage: (int)page;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


reflectScrolledClipView:

- (void) reflectScrolledClipView: (NSClipView*)aClipView;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


registerForDraggedTypes:

- (void) registerForDraggedTypes: (NSArray*)types;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


releaseGState

- (void) releaseGState;
Standards: GNUstep, MacOS-X, OpenStep

Frees the gstate object, if there is one. Note that the next time the view is lockFocused, the gstate will be allocated again.


removeAllToolTips

- (void) removeAllToolTips;
Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


removeCursorRect:cursor:

- (void) removeCursorRect: (NSRect)aRect cursor: (NSCursor*)anObject;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


removeFromSuperview

- (void) removeFromSuperview;
Standards: GNUstep, MacOS-X, OpenStep

Removes the receiver from its superviews list of subviews, by invoking the superviews [ -removeSubview: ] method, and marks the rectangle that the reciever occupied in the superview as needing redisplay.

This is dangerous to use during display, since it alters the rectangles needing display.


removeFromSuperviewWithoutNeedingDisplay

- (void) removeFromSuperviewWithoutNeedingDisplay;
Standards: GNUstep, MacOS-X, OpenStep

Removes the receiver from its superviews list of subviews, by invoking the superviews [ -removeSubview: ] method.


removeSubview:

- (void) removeSubview: (NSView*)aSubview;
Standards: NotMacOS-X, NotOpenStep

Removes the view from the receivers list of subviews and from the responder chain.

Also invokes [aView -viewWillMoveToWindow: nil] to handle removal of aView (and recursively, its children) from its window - performing tidyup by invalidating cursor rects etc.


removeToolTip:

- (void) removeToolTip: (NSToolTipTag)tag;
Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


removeTrackingRect:

- (void) removeTrackingRect: (NSTrackingRectTag)tag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


renewGState

- (void) renewGState;
Standards: GNUstep, MacOS-X, OpenStep

Invalidates the view's gstate object so it will be set up again using setUpGState the next time the view is focused.


replaceSubview:with:

- (void) replaceSubview: (NSView*)oldView with: (NSView*)newView;
Standards: GNUstep, MacOS-X, OpenStep

Removes oldView from the receiver and places newView in its place.


resetCursorRects

- (void) resetCursorRects;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


resizeSubviewsWithOldSize:

- (void) resizeSubviewsWithOldSize: (NSSize)oldSize;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


resizeWithOldSuperviewSize:

- (void) resizeWithOldSuperviewSize: (NSSize)oldSize;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


rotateByAngle:

- (void) rotateByAngle: (float)angle;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


scaleUnitSquareToSize:

- (void) scaleUnitSquareToSize: (NSSize)newSize;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


scrollClipView:toPoint:

- (void) scrollClipView: (NSClipView*)aClipView toPoint: (NSPoint)aPoint;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


scrollPoint:

- (void) scrollPoint: (NSPoint)aPoint;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


scrollRect:by:

- (void) scrollRect: (NSRect)aRect by: (NSSize)delta;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


scrollRectToVisible:

- (BOOL) scrollRectToVisible: (NSRect)aRect;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setAutoresizesSubviews:

- (void) setAutoresizesSubviews: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setAutoresizingMask:

- (void) setAutoresizingMask: (unsigned int)mask;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setBounds:

- (void) setBounds: (NSRect)aRect;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setBoundsOrigin:

- (void) setBoundsOrigin: (NSPoint)newOrigin;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setBoundsRotation:

- (void) setBoundsRotation: (float)angle;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setBoundsSize:

- (void) setBoundsSize: (NSSize)newSize;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setFrame:

- (void) setFrame: (NSRect)frameRect;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setFrameOrigin:

- (void) setFrameOrigin: (NSPoint)newOrigin;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setFrameRotation:

- (void) setFrameRotation: (float)angle;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setFrameSize:

- (void) setFrameSize: (NSSize)newSize;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setNeedsDisplay:

- (void) setNeedsDisplay: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setNeedsDisplayInRect:

- (void) setNeedsDisplayInRect: (NSRect)rect;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setNextKeyView:

- (void) setNextKeyView: (NSView*)aView;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setPostsBoundsChangedNotifications:

- (void) setPostsBoundsChangedNotifications: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setPostsFrameChangedNotifications:

- (void) setPostsFrameChangedNotifications: (BOOL)flag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setPreviousKeyView:

- (void) setPreviousKeyView: (NSView*)aView;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


setToolTip:

- (void) setToolTip: (NSString*)string;
Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


setUpGState

- (void) setUpGState;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


shouldDelayWindowOrderingForEvent:

- (BOOL) shouldDelayWindowOrderingForEvent: (NSEvent*)anEvent;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


shouldDrawColor

- (BOOL) shouldDrawColor;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


sortSubviewsUsingFunction:context:

- (void) sortSubviewsUsingFunction: (int(*)(id,id,void*))compare context: (void*)context;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


subviews

- (NSArray*) subviews;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


superview

- (NSView*) superview;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


tag

- (int) tag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


toolTip

- (NSString*) toolTip;
Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


translateOriginToPoint:

- (void) translateOriginToPoint: (NSPoint)point;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


unlockFocus

- (void) unlockFocus;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


unregisterDraggedTypes

- (void) unregisterDraggedTypes;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


viewDidMoveToSuperview

- (void) viewDidMoveToSuperview;
Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


viewDidMoveToWindow

- (void) viewDidMoveToWindow;
Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


viewWillMoveToSuperview:

- (void) viewWillMoveToSuperview: (NSView*)newSuper;
Standards: GNUstep, MacOS-X, OpenStep

Notifies the receiver that its superview is being changed to newSuperview.


viewWillMoveToWindow:

- (void) viewWillMoveToWindow: (NSWindow*)newWindow;
Standards: GNUstep, MacOS-X, OpenStep

Notifies the receiver that it will now be a view of newWindow. Note, this method is also used when removing a view from a window (in which case, newWindow is nil) to let all the subviews know that they have also been removed from the window.


viewWithTag:

- (id) viewWithTag: (int)aTag;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


visibleRect

- (NSRect) visibleRect;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


widthAdjustLimit

- (float) widthAdjustLimit;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


willRemoveSubview:

- (void) willRemoveSubview: (NSView*)subview;
Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


window

- (NSWindow*) window;
Standards: GNUstep, MacOS-X, OpenStep

Returns the window in which the receiver resides.


writeEPSInsideRect:toPasteboard:

- (void) writeEPSInsideRect: (NSRect)rect toPasteboard: (NSPasteboard*)pasteboard;
Standards: GNUstep, MacOS-X, OpenStep

Description forthcoming.


writePDFInsideRect:toPasteboard:

- (void) writePDFInsideRect: (NSRect)aRect toPasteboard: (NSPasteboard*)pboard;
Standards: NotOpenStep, GNUstep, MacOS-X

Description forthcoming.


Software documentation for the NSView(PrivateMethods) category

NSView(PrivateMethods)

Declared in:
AppKit/NSView.h
Standards:

Description forthcoming.

Method summary

_invalidateCoordinates

- (void) _invalidateCoordinates;
Standards: NotOpenStep, NotMacOS-X, GNUstep

Description forthcoming.


_matrixFromWindow

- (NSAffineTransform*) _matrixFromWindow;
Standards: NotOpenStep, NotMacOS-X, GNUstep

Description forthcoming.


_matrixToWindow

- (NSAffineTransform*) _matrixToWindow;
Standards: NotOpenStep, NotMacOS-X, GNUstep

Description forthcoming.


_rebuildCoordinates

- (void) _rebuildCoordinates;
Standards: NotOpenStep, NotMacOS-X, GNUstep

Description forthcoming.



Up