FROM : Martin Redington
DATE : Tue Nov 06 22:32:54 2007
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.
DATE : Tue Nov 06 22:32:54 2007
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.
| Related mails | Author | Date |
|---|---|---|
| Martin Redington | Nov 6, 22:32 | |
| Corbin Dunn | Nov 7, 00:09 | |
| Martin Redington | Nov 7, 01:51 |






Cocoa mail archive

