MonobjcMonobjc Documented Class Library
AddCursorRectCursor Method (aRect, aCursor)
NamespacesMonobjc.AppKitNSViewAddCursorRectCursor(NSRect, NSCursor)

Establishes the cursor to be used when the mouse pointer lies within a specified region.

Original signature is '- (void)addCursorRect:(NSRect)aRect cursor:(NSCursor *)aCursor'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void AddCursorRectCursor(
	NSRect aRect,
	NSCursor aCursor
Public Overridable Sub AddCursorRectCursor ( _
	aRect As NSRect, _
	aCursor As NSCursor _
virtual void AddCursorRectCursor(
	NSRect aRect, 
	NSCursor^ aCursor
aRect (NSRect)
A rectangle defining a region of the receiver.
aCursor (NSCursor)
An object representing a cursor.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)