Thanks for the reply.
I have earlier tried setDoubleAction: for the entire outlineview, but
its working only on Leopard and not before Leopard.
I'm setting the dataCell of all the columns as non-editable, may be it
has something to do with that.
But I have also tried setting the desired column's dataCell as both
editable and non-editable.
Even then it doesn't work on Prior-Leopard.
Thanks,
Nick
On 26-Dec-08, at 8:01 PM, Jerry Krinock wrote:
On 2008 Dec, 26, at 6:23, Nick Rogers wrote:
I have the outlineview cell which is a subclass of NSActionCell.
I can set its target and action with setTarget: and setAction:.
But it invokes the method on single click.
Whereas I want the method to be called only on double click, I have
seen the docs and there is no method like setDoubleAction.
How to do it.
It looks like you must set the action for the entire table --
NSTableView has a setDoubleAction: method.
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/roger_s1%40mac.com
This email sent to roger...@mac.com
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com