Re: NSActionCell, is there a double click?
Re: NSActionCell, is there a double click?
- Subject: Re: NSActionCell, is there a double click?
- From: Nick Rogers <email@hidden>
- Date: Fri, 26 Dec 2008 20:18:33 +0530
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 (email@hidden)
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:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden