NSBrowser tooltips (Tiger and Leopard)
NSBrowser tooltips (Tiger and Leopard)
- Subject: NSBrowser tooltips (Tiger and Leopard)
- From: Martin Redington <email@hidden>
- Date: Tue, 6 Nov 2007 21:32:54 +0000
I'm having trouble with tooltips in an NSBrowser. I posted a few days
ago about this in a Tiger context.
I have an NSMatrix subclass, that implements -[toolTipForCell:].
On Tiger, this never seems to get called, and I get no tooltips.
On Leopard, the method also doesn't get called, but I do get a
tooltip for my root item (the first column of the browser has only
one item), with text that seems to be taken from the text of my
(custom) NSBrowerCell. None of the other items (incorrectly) show
tooltips at all.
However, after this tooltip has been displayed, the underlying
NSBrowserCell seems to have been released by something, judging by
the crashes I get next time it's accessed.
Any hints as to where to look/other approaches to try would be great ...
cheers,
m.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden