Re: Trouble with NSButtonCell
Re: Trouble with NSButtonCell
- Subject: Re: Trouble with NSButtonCell
- From: Scott Andrew <email@hidden>
- Date: Thu, 3 Sep 2009 07:58:43 -0700
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@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