I think you need to create a subclass of NSButton that uses your cell. Then use setAction and setDoubleAction.

Scott

On Sep 3, 2009, at 7:41 AM, Dave DeLong wrote:

Unfortunately, "setDoubleAction:" is not a method on NSCell or any of its subclasses (except NSPathCell).

Really all the BWToolkit is doing is skinning. As far as I can tell from browsing through the code, it's not actually changing functionality of the controls.

Dave

On Sep 3, 2009, at 5:33 AM, Reinhard Segeler wrote:

Don't know anything about the toolkit you're using, but I would use setAction: for single click and setDoubleAction: for double click,...
Hope this helps.

Reinhard
_______________________________________________

Cocoa-dev mailing list ([email protected])

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/scottandrew%40roadrunner.com

This email sent to [email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to