Wishing for NSActionImageCell
Wishing for NSActionImageCell
- Subject: Wishing for NSActionImageCell
- From: John Pannell <email@hidden>
- Date: Mon, 30 Sep 2002 16:52:03 -0600
Hi there-
My application makes use of an NSMatrix that is populated with
NSImageCells. I needed the image cells for the way they frame and scale
their image, and I love the way is is working. However, I also want the
user to be able to click on the cell to make something happen. I would
use some subclass of NSActionCell for this, if I understand things
correctly. Unfortunately, NSImageCell is not a subclass of NSActionCell.
I'm still no expert, so I'm seeking advice before I get my hands too
dirty... my plan is to subclass NSImageCell and override all of the
NSCell methods that NSActionCell does. Is this the best plan of attack?
I also tried catching mouse events in the NSMatrix itself, but it seemed
kind of hackish.
Any advice is much appreciated!
John P.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.