NSCell rollover
NSCell rollover
- Subject: NSCell rollover
- From: Matt Ball <email@hidden>
- Date: Tue, 28 Jun 2005 21:33:18 -0400
I'm attempting to create an NSCell to be used in a tableView similar
to the "Eject" icon in iTunes, Finder, etc. I've got an NSImageCell?
subclass, and I'm dealing with changing the image depending on if the
row is selected in my controller. However, I can not for the life of
me figure out how to implement the rollover effect for my cell. I've
got some mouse tracking set up in my tableView, and I've determined
the row and column using rowAtPoint: and columnAtPoint:, but I can't
figure out how to refer to the cell that is under the mouse. I know
that NSTableView provides a way to get the NSRect for the cell at the
intersection of a row and column, but I'm not sure exactly how to use
that information.
- Matt Ball
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden