Putting color wells in a table.
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.