several clickable links in a NSCell of a NSTableView
several clickable links in a NSCell of a NSTableView
- Subject: several clickable links in a NSCell of a NSTableView
- From: devmaillists <email@hidden>
- Date: Thu, 15 Dec 2005 16:32:32 +0100
Hello List,
I would like to have some text with several clickable links in a
NSTableView´s NSCell.
However, while I have done some NSTextFieldCell subclassing, this
does not quite seem to cut it, and I am somewhat confused. Hopefully,
my posting is still understandable.
For simplicity, imagine each cell is to hold several lines of text
(NSAttributedString) and zero to four links (not to URLs, but I guess
that does not matter). Several ideas come to mind:
- Continue subclassing NSTextFieldCell, find out the rectangles of
the links and react to clicks accordingly.
- Somehow create an NSTextView for the contents of the cell. That
seems like overkill.
Could someone help clear my brain a bit and set me on the right
strategy?
Thanks
Alex
_______________________________________________
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