NSBrowser cell highlighting
NSBrowser cell highlighting
- Subject: NSBrowser cell highlighting
- From: Tom Waters <email@hidden>
- Date: Tue, 5 Jun 2001 16:45:20 -0700
I have a custom cell inside of an NSBrowser.
I note that when I use regular NSBrowserCells, the selected branch nodes
are painted in a lighter color when they aren't in the "right-most"
column.
I've been examining [NSCell isHighlighted] and [NSCell state] for clues
as to how the cell "knows" to paint this lighter color without success.
Does anyone know what the convention is?
(This is the kind of thing that is missing from the documentation,
because as everyone knows, you're NOT supposed to have to subclass
anything in cocoa...)
-tw
"Patient: Doctor, it hurts when I do this...
Doctor: Don't do that!"