MonobjcMonobjc Documented Class Library
TextViewClickedOnCellInRectAtIndexMessage Method (aTextView, cell, cellFrame, charIndex)
NamespacesMonobjc.AppKitNSTextView..::..NSTextViewDelegateEventDispatcherTextViewClickedOnCellInRectAtIndexMessage(NSTextView, INSTextAttachmentCell, NSRect, NSUInteger)

Sent when the user clicks a cell.

Original signature is '- (void)textView:(NSTextView *)aTextView clickedOnCell:(id < NSTextAttachmentCell >)cell inRect:(NSRect)cellFrame atIndex:(NSUInteger)charIndex'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public void TextViewClickedOnCellInRectAtIndexMessage(
	NSTextView aTextView,
	INSTextAttachmentCell cell,
	NSRect cellFrame,
	NSUInteger charIndex
)
Public Sub TextViewClickedOnCellInRectAtIndexMessage ( _
	aTextView As NSTextView, _
	cell As INSTextAttachmentCell, _
	cellFrame As NSRect, _
	charIndex As NSUInteger _
)
public:
void TextViewClickedOnCellInRectAtIndexMessage(
	NSTextView^ aTextView, 
	INSTextAttachmentCell^ cell, 
	NSRect cellFrame, 
	NSUInteger charIndex
)
Parameters
aTextView (NSTextView)
The text view sending the message.
cell (INSTextAttachmentCell)
The cell clicked by the user.
cellFrame (NSRect)
The frame of the clicked cell.
charIndex (NSUInteger)
The character index of the clicked cell.
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)