(Preliminary Documentation) Copyright ã1994 by NeXT Computer, Inc.  All Rights Reserved.

NSCursor

Inherits From:	NSObject

Conforms To:	appkit/NSCursor.h

Initializing a New NSCursor Object

- (id)initWithImage:(NSImage *)newImage	Initializes a new NSCursor object with newImage.

Defining the Cursor

- (NSPoint)hotSpot	Returns the point on the cursor that's aligned with the mouse.
- (NSImage *)image	Returns the NSImage object that has the cursor image.
- (void)setHotSpot:(NSPoint)spot	Sets the point on the cursor that's aligned with the mouse.
- (void)setImage:(NSImage *)newImage	Sets from newImage the NSImage object that supplies the cursor image.

Setting the Cursor

+ (void)hide	Hides the cursor. 
+ (void)pop	Restores the previous cursor.
+ (void)setHiddenUntilMouseMoves:(BOOL)flag;	Hides cursor when flag is YES; reveals it otherwise.
+ (void)unhide	Shows the cursor.
- (void)mouseEntered:(NSEvent *)theEvent	Responds to a mouse-entered event by setting the cursor if setOnMouseEntered was sent.
- (void)mouseExited:(NSEvent *)theEvent	Responds to a mouse-exited event by setting the cursor if setOnMouseExited was sent.
- (void)pop	Removes the topmost NSCursor object from the cursor stack, and makes the next NSCursor down the current cursor.
- (void)push	Puts the receiving NSCursor on the cursor stack and sets it to be the Window Server's cursor. 
- (void)set	Sets the NSCursor to be the current cursor.
- (void)setOnMouseEntered:(BOOL)flag	Determines whether mouseEntered: sets cursor.
- (void)setOnMouseExited:(BOOL)flag	Determines whether mouseExited: sets cursor.

Getting the Cursor

+ (NSCursor *)arrowCursor	Returns an arrow cursor. 
+ (NSCursor *)currentCursor	Returns the current cursor.
+ (NSCursor *)IBeamCursor	Returns an IBeam cursor.