tags:

views:

34

answers:

1

I have a table of draggable rows. I'm subclassing NSImageCell to render an image, mapped via bindings.

How do I get a double-click event from this cell?

+1  A: 

I think you'd send a setDoubleAction: message to the NSTableView, and in your double-click action method, use clickedRow to find out which row was hit.

JWWalker
Yep it was the Action Invocation stuff on the Table View. I'd also forgotten all about binding to selector names.Here's the article that helped me get it working. http://developer.apple.com/mac/library/qa/qa2006/qa1472.html
Michael Forrest