NSColorWell in a NSTableView
NSColorWell in a NSTableView
- Subject: NSColorWell in a NSTableView
- From: vincent habchi <email@hidden>
- Date: Thu, 4 Nov 2010 22:15:38 +0100
Hi to all,
I would like to put a NSColorWell into a column of a NSTableView. If what I have dug out on the net is not wrong, I can infer there are two main ways to achieve this:
1. Subclass a NSImageCell, draw a custom rectangle inside and handle actions in order to mimic a NSColorWell;
2. Write a custom NSCell class.
What make more sense?
In the case 2., is it possible to write a custom NSCell that would enclose a fully functional NSColorWell?
Thanks a lot!
Vincent_______________________________________________
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