Up
Authors
Scott Christley (scottc@net-community.com
)
Adam Fedor (fedor@gnu.org
)
Date: Generated at 2025-02-11 22:28:02 +0100
Holds an image to use as a cursor
Copyright: (C) 1996,1999,2001 Free Software Foundation, Inc.
class_NSCursor
NSObject
NSObject
NSCursor
NSCursor
NSObject->NSCursor
p_NSCoding
NSCoding
p_NSCoding->NSCursor
Declared in:
AppKit/NSCursor.h
Conforms to:
NSCoding
Availability: OpenStep
Description forthcoming.
Instance Variables
+ (
NSCursor *)
IBeamCursor ;
Availability: OpenStep
Returns an I-beam cursor.
+ (
NSCursor *)
arrowCursor ;
Availability: OpenStep
+ (
NSCursor *)
closedHandCursor ;
Availability: MacOS-X 10.3.0
Description forthcoming.
+ (
NSCursor *)
contextualMenuCursor ;
Availability: MacOS-X 10.6.0
Description forthcoming.
+ (
NSUInteger )
count ;
Availability: OpenStep
Description forthcoming.
+ (
NSCursor *)
crosshairCursor ;
Availability: MacOS-X 10.3.0
Description forthcoming.
+ (
NSCursor *)
currentCursor ;
Availability: OpenStep
Returns the current cursor.
+ (
NSCursor *)
currentSystemCursor ;
Availability: MacOS-X 10.6.0
Description forthcoming.
+ (
NSCursor *)
disappearingItemCursor ;
Availability: MacOS-X 10.3.0
Description forthcoming.
+ (
NSCursor *)
dragCopyCursor ;
Availability: MacOS-X 10.6.0
Description forthcoming.
+ (
NSCursor *)
dragLinkCursor ;
Availability: MacOS-X 10.6.0
Description forthcoming.
+ (
NSCursor *)
greenArrowCursor ;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
+ (void)
hide ;
Availability: OpenStep
Hides the current cursor.
+ (BOOL)
isHiddenUntilMouseMoves ;
Availability: OpenStep
Returns whther the cursor is hidden until mouse
moves
+ (
NSCursor *)
openHandCursor ;
Availability: MacOS-X 10.3.0
Description forthcoming.
+ (
NSCursor *)
operationNotAllowedCursor ;
Availability: MacOS-X 10.6.0
Description forthcoming.
+ (
NSCursor *)
pointingHandCursor ;
Availability: MacOS-X 10.3.0
Description forthcoming.
+ (void)
pop ;
Availability: OpenStep
Pops the cursor off the top of the stack and makes
the previous one as the current cursor.
+ (
NSCursor *)
resizeDownCursor ;
Availability: MacOS-X 10.3.0
Description forthcoming.
+ (
NSCursor *)
resizeLeftCursor ;
Availability: MacOS-X 10.3.0
Description forthcoming.
+ (
NSCursor *)
resizeLeftRightCursor ;
Availability: MacOS-X 10.3.0
Description forthcoming.
+ (
NSCursor *)
resizeRightCursor ;
Availability: MacOS-X 10.3.0
Description forthcoming.
+ (
NSCursor *)
resizeUpCursor ;
Availability: MacOS-X 10.3.0
Description forthcoming.
+ (
NSCursor *)
resizeUpDownCursor ;
Availability: MacOS-X 10.3.0
Description forthcoming.
+ (void)
setHiddenUntilMouseMoves: (BOOL)flag;
Availability: OpenStep
Hides the cursor if flag is
YES
. Unhides it if NO
+ (void)
unhide ;
Availability: OpenStep
Shows the NSCursor.
See Also: +hide
- (
NSPoint )
hotSpot ;
Availability: OpenStep
Returns the hot spot point of the NSCursor. This
is in the cursor's coordinate system which is a
flipped on (origin at the top left of the
cursor).
- (
NSImage *)
image ;
Availability: OpenStep
Returns the image of the NSCursor
- (id)
initWithImage: (
NSImage *)newImage;
Availability: Not in OpenStep/MacOS-X
Initializes and returns a new NSCursor with a
NSImage newImage and a hot spot point
with x=0 and y=0 (top left corner).
See Also:
-initWithImage:hotSpot:
- (id)
initWithImage: (
NSImage *)newImage
foregroundColorHint: (
NSColor *)fg
backgroundColorHint: (
NSColor *)bg
hotSpot: (
NSPoint )hotSpot;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (id)
initWithImage: (
NSImage *)newImage
hotSpot: (
NSPoint )hotSpot;
Availability: OpenStep
Initializes and returns a new NSCursor with a
NSImage newImage and the hot spot to
hotSpot .
NB. The coordinate system of an NSCursor is flipped,
so a hotSpot at 0,0 is in the top left
corner of the cursor.
See Also:
-initWithImage:
-setImage:
- (BOOL)
isSetOnMouseEntered ;
Availability: OpenStep
- (BOOL)
isSetOnMouseExited ;
Availability: OpenStep
- (void)
mouseEntered: (
NSEvent *)theEvent;
Availability: OpenStep
- (void)
mouseExited: (
NSEvent *)theEvent;
Availability: OpenStep
- (void)
pop ;
Availability: OpenStep
Pops the cursor off the top of the stack and makes
the previous the current cursor.
- (void)
push ;
Availability: OpenStep
Adds the NSCursor into the cursor stack and makes it
the current cursor.
See Also: -pop
-set
- (void)
set ;
Availability: OpenStep
Sets the NSCursor as the current cursor.
- (void)
setHotSpot: (
NSPoint )spot;
Availability: Not in OpenStep/MacOS-X
Sets the hot spot point of the NSCursor
to spot
- (void)
setImage: (
NSImage *)newImage;
Availability: Not in OpenStep/MacOS-X
Sets newImage the image of the NSCursor
- (void)
setOnMouseEntered: (BOOL)flag;
Availability: OpenStep
- (void)
setOnMouseExited: (BOOL)flag;
Availability: OpenStep
Instance Variables for NSCursor Class
@protected void*
_cid ;
Availability: OpenStep
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*
_cursor_image ;
Availability: OpenStep
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
_hot_spot ;
Availability: OpenStep
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 GSCursorFlagsType
struct GSCursorFlagsType ;
Availability: OpenStep
Description forthcoming.
Up