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/archive%40mail-archive.com
This email sent to arch...@mail-archive.com