MonobjcMonobjc Documented Class Library
TextViewClickedOnLinkAtIndex Method (aTextView, link, charIndex)
NamespacesMonobjc.AppKitINSTextViewDelegateTextViewClickedOnLinkAtIndex(NSTextView, Id, NSUInteger)

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++
bool TextViewClickedOnLinkAtIndex(
	NSTextView aTextView,
	Id link,
	NSUInteger charIndex
Function TextViewClickedOnLinkAtIndex ( _
	aTextView As NSTextView, _
	link As Id, _
	charIndex As NSUInteger _
) As Boolean
bool TextViewClickedOnLinkAtIndex(
	NSTextView^ aTextView, 
	Id^ link, 
	NSUInteger charIndex
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)