(informal protocol)
Framework | /System/Library/Frameworks/AppKit.framework |
Companion guide | |
Declared in | NSView.h |
The NSToolTipOwner informal protocol declares a method that allows an object to dynamically provide the text to a tool tip. If the tool tip object does not implement this method, the NSObject protocol description
method is invoked instead.
Returns the tool tip string to be displayed due to the cursor pausing at location point within the tool tip rectangle identified by tag in the view view.
- (NSString *)view:(NSView *)view stringForToolTip:(NSToolTipTag)tag point:(NSPoint)point userData:(void *)userData
userData is additional information provided by the creator of the tool tip rectangle.
– addToolTipRect:owner:userData:
(NSView)NSView.h
© 2006 Apple Computer, Inc. All Rights Reserved. (Last updated: 2006-05-23)