Up

NSCursor

Authors

Scott Christley (scottc@net-community.com)
Adam Fedor (fedor@gnu.org)
Holds an image to use as a cursor

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

Software documentation for the NSCursor class

NSCursor : NSObject

Declared in:
AppKit/NSCursor.h
Conforms to:
NSCoding
Standards:

Description forthcoming.


Instance Variables

Method summary

IBeamCursor 

+ (NSCursor*) IBeamCursor;

Description forthcoming.


arrowCursor 

+ (NSCursor*) arrowCursor;

Description forthcoming.


closedHandCursor 

+ (NSCursor*) closedHandCursor;

Description forthcoming.


crosshairCursor 

+ (NSCursor*) crosshairCursor;

Description forthcoming.


currentCursor 

+ (NSCursor*) currentCursor;

Description forthcoming.


disappearingItemCursor 

+ (NSCursor*) disappearingItemCursor;

Description forthcoming.


greenArrowCursor 

+ (NSCursor*) greenArrowCursor;

Description forthcoming.


hide 

+ (void) hide;

Description forthcoming.


isHiddenUntilMouseMoves 

+ (BOOL) isHiddenUntilMouseMoves;

Description forthcoming.


openHandCursor 

+ (NSCursor*) openHandCursor;

Description forthcoming.


pointingHandCursor 

+ (NSCursor*) pointingHandCursor;

Description forthcoming.


pop 

+ (void) pop;

Description forthcoming.


resizeDownCursor 

+ (NSCursor*) resizeDownCursor;

Description forthcoming.


resizeLeftCursor 

+ (NSCursor*) resizeLeftCursor;

Description forthcoming.


resizeLeftRightCursor 

+ (NSCursor*) resizeLeftRightCursor;

Description forthcoming.


resizeRightCursor 

+ (NSCursor*) resizeRightCursor;

Description forthcoming.


resizeUpCursor 

+ (NSCursor*) resizeUpCursor;

Description forthcoming.


resizeUpDownCursor 

+ (NSCursor*) resizeUpDownCursor;

Description forthcoming.


setHiddenUntilMouseMoves: 

+ (void) setHiddenUntilMouseMoves: (BOOL)flag;

Description forthcoming.


unhide 

+ (void) unhide;

Description forthcoming.


hotSpot 

- (NSPoint) hotSpot;

Description forthcoming.


image 

- (NSImage*) image;

Description forthcoming.


initWithImage: 

- (id) initWithImage: (NSImage*)newImage;

Description forthcoming.


initWithImage: foregroundColorHint: backgroundColorHint: hotSpot: 

- (id) initWithImage: (NSImage*)newImage foregroundColorHint: (NSColor*)fg backgroundColorHint: (NSColor*)bg hotSpot: (NSPoint)hotSpot;

Description forthcoming.


initWithImage: hotSpot: 

- (id) initWithImage: (NSImage*)newImage hotSpot: (NSPoint)hotSpot;

Description forthcoming.


isSetOnMouseEntered 

- (BOOL) isSetOnMouseEntered;

Description forthcoming.


isSetOnMouseExited 

- (BOOL) isSetOnMouseExited;

Description forthcoming.


mouseEntered: 

- (void) mouseEntered: (NSEvent*)theEvent;

Description forthcoming.


mouseExited: 

- (void) mouseExited: (NSEvent*)theEvent;

Description forthcoming.


pop 

- (void) pop;

Description forthcoming.


push 

- (void) push;

Description forthcoming.


set 

- (void) set;

Description forthcoming.


setHotSpot: 

- (void) setHotSpot: (NSPoint)spot;

Description forthcoming.


setImage: 

- (void) setImage: (NSImage*)newImage;

Description forthcoming.


setOnMouseEntered: 

- (void) setOnMouseEntered: (BOOL)flag;

Description forthcoming.


setOnMouseExited: 

- (void) setOnMouseExited: (BOOL)flag;

Description forthcoming.




Instance Variables for NSCursor Class

_cid

@protected void* _cid;

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.


_cursor_image

@protected NSImage* _cursor_image;

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.


_hot_spot

@protected NSPoint _hot_spot;

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.


_is_set_on_mouse_entered

@protected BOOL _is_set_on_mouse_entered;

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.


_is_set_on_mouse_exited

@protected BOOL _is_set_on_mouse_exited;

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.






Up