Skip navigation.
 
mlRe: Tooltips in an NSBrowser
FROM : Benjamin Stiglitz
DATE : Fri Nov 02 19:05:44 2007

> I'm trying to get tooltips for items in my NSBrowser (on Tiger)
>
> I've implemented -toolTipForCell: in my NSMatrix subclass, and I'm 
> sure this is being set correctly, but the tooltip method never seems 
> to get called.
>
> Everything else seems to work correctly. Is this how I should be 
> implementing the NSBrowser tooltips, or am I missing something?


Unfortunately, NSMatrix, and therefore NSBrowser, doesn’t currently 
support delegate-provided dynamic tooltips like NSTableView does. 
You’ll need to use -[NSMatrix setToolTip:forCell:] for each cell you 
create in the matrix.

-Ben_______________________________________________

Cocoa-dev mailing list (<email_removed>)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>

This email sent to <email_removed>

Related mailsAuthorDate
mlTooltips in an NSBrowser Martin Redington Nov 2, 05:42
mlRe: Tooltips in an NSBrowser Benjamin Stiglitz Nov 2, 19:05