MonobjcMonobjc Documented Class Library
TextViewClickedOnCellInRectAtIndex Method (aTextView, cell, cellFrame, charIndex)
NamespacesMonobjc.AppKitINSTextViewDelegateTextViewClickedOnCellInRectAtIndex(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++
void TextViewClickedOnCellInRectAtIndex(
	NSTextView aTextView,
	INSTextAttachmentCell cell,
	NSRect cellFrame,
	NSUInteger charIndex
Sub TextViewClickedOnCellInRectAtIndex ( _
	aTextView As NSTextView, _
	cell As INSTextAttachmentCell, _
	cellFrame As NSRect, _
	charIndex As NSUInteger _
void TextViewClickedOnCellInRectAtIndex(
	NSTextView^ aTextView, 
	INSTextAttachmentCell^ cell, 
	NSRect cellFrame, 
	NSUInteger charIndex
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)