MonobjcMonobjc Documented Class Library
TextViewWillDisplayToolTipForCharacterAtIndex Method (textView, tooltip, characterIndex)
NamespacesMonobjc.AppKitINSTextViewDelegateTextViewWillDisplayToolTipForCharacterAtIndex(NSTextView, NSString, NSUInteger)

Returns the actual tooltip to display.

Original signature is '- (NSString *)textView:(NSTextView *)textView willDisplayToolTip:(NSString *)tooltip forCharacterAtIndex:(NSUInteger)characterIndex'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
NSString TextViewWillDisplayToolTipForCharacterAtIndex(
	NSTextView textView,
	NSString tooltip,
	NSUInteger characterIndex
Function TextViewWillDisplayToolTipForCharacterAtIndex ( _
	textView As NSTextView, _
	tooltip As NSString, _
	characterIndex As NSUInteger _
) As NSString
NSString^ TextViewWillDisplayToolTipForCharacterAtIndex(
	NSTextView^ textView, 
	NSString^ tooltip, 
	NSUInteger characterIndex
textView (NSTextView)
The text view sending the message.
tooltip (NSString)
The proposed tooltip to display.
characterIndex (NSUInteger)
The location in textView.
Return Value
The actual tooltip to display, or nil to suppress display of the tooltip.
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)