Re: Best way to put two NSCells in one?
Re: Best way to put two NSCells in one?
- Subject: Re: Best way to put two NSCells in one?
- From: Milton Sagen <email@hidden>
- Date: Sun, 5 Dec 2004 11:59:13 -0800
Go look at the example DragNDropOutlineView. In it you'll find the
module ImageAndTextCell.m. I think that's all you need.
On Dec 05, 2004, at 11:17, Gwynne wrote:
I have a situation where I have an NSTableView. I want one of the
columns to display both image and text data. It seems to me that the
best way to do this is to embed both NSTextFieldCell and NSImageCell
into the column's data cell, but I can't quite figure out how this
would be accomplished. Another option would be to write an
NSTextImageCell subclass, but I'm not at all clear about how one would
go about that either. Can anyone give me any advice?
-- Gwynne, key to the Code
Email: email@hidden
Web: http://musicimage.plasticchicken.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden