• 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
Putting color wells in a table.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Putting color wells in a table.


  • Subject: Putting color wells in a table.
  • From: Oscar Morales Vivó <email@hidden>
  • Date: Wed, 11 Jun 2003 19:15:27 +0200

I wanted to build a table for my program where one of the columns would display different cells depending on the type of data for that row, so I could have rows with text entry, or with a button to perform an operation, or with a color well. I thought I could just do it by subclassing NSTableColumn and its (id)dataCellForRow:(int)row method. However, I noticed that NSColorWell has no associated cell class.

How can I have a table cell act as a color well? Any help will be appreciated.

/*
Oscar Morales Vivs

Eternal Computer Science Student. Master of C++ Templates. Cocoa Nut. Computer Graphics Illuminati. UI Guru in Training. Dabbler in all things CS and most which are not.

Web stuff: http://homepage.mac.com/oscarmv/index.html
*/
_______________________________________________
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.

  • Follow-Ups:
    • Re: Putting color wells in a table.
      • From: "M. Uli Kusterer" <email@hidden>
  • Prev by Date: Re: Dragging Rect
  • Next by Date: Re: G4 vs G3
  • Previous by thread: NSView minimum size
  • Next by thread: Re: Putting color wells in a table.
  • Index(es):
    • Date
    • Thread