MonobjcMonobjc Documented Class Library
NSTextView..::..TextViewClickedOnLinkAtIndexEventHandler Delegate
NamespacesMonobjc.AppKitNSTextViewNSTextView..::..TextViewClickedOnLinkAtIndexEventHandler

Sent after the user clicks a link.

Original signature is '- (BOOL)textView:(NSTextView *)aTextView clickedOnLink:(id)link atIndex:(NSUInteger)charIndex'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate bool TextViewClickedOnLinkAtIndexEventHandler(
	NSTextView aTextView,
	Id link,
	NSUInteger charIndex
)
Public Delegate Function TextViewClickedOnLinkAtIndexEventHandler ( _
	aTextView As NSTextView, _
	link As Id, _
	charIndex As NSUInteger _
) As Boolean
public delegate bool TextViewClickedOnLinkAtIndexEventHandler(
	NSTextView^ aTextView, 
	Id^ link, 
	NSUInteger charIndex
)
Parameters
aTextView (NSTextView)
The text view sending the message.
link (Id)
The link that was clicked; the value of NSLinkAttributeName.
charIndex (NSUInteger)
The character index where the click occurred, indexed within the text storage.
Return Value
YES if the click was handled; otherwise, NO to allow the next responder to handle it.
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)