• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSColorWell in a NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSColorWell in a NSTableView
      • From: Corbin Dunn <email@hidden>
  • Prev by Date: Re: Set Icon For Document-Based Files
  • Next by Date: Working with C-functions in separate NSThreads: via Stack or Heap?
  • Previous by thread: What does: IKImageView setOverlay method ?
  • Next by thread: Re: NSColorWell in a NSTableView
  • Index(es):
    • Date
    • Thread