• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Trouble with NSButtonCell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Trouble with NSButtonCell
      • From: Corbin Dunn <email@hidden>
References: 
 >Trouble with NSButtonCell (From: Dave DeLong <email@hidden>)
 >Re: Trouble with NSButtonCell (From: Reinhard Segeler <email@hidden>)
 >Re: Trouble with NSButtonCell (From: Dave DeLong <email@hidden>)

  • Prev by Date: Re: NSDictionary, allKeys and the NSAutoreleasePool
  • Next by Date: Re: NSDictionary, allKeys and the NSAutoreleasePool
  • Previous by thread: Re: Trouble with NSButtonCell
  • Next by thread: Re: Trouble with NSButtonCell
  • Index(es):
    • Date
    • Thread