• 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: Can't get to work setDoubleAction on NSMatrix with NSButtonCell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't get to work setDoubleAction on NSMatrix with NSButtonCell


  • Subject: Re: Can't get to work setDoubleAction on NSMatrix with NSButtonCell
  • From: Graham Cox <email@hidden>
  • Date: Tue, 16 Sep 2008 09:28:33 +1000


On 16 Sep 2008, at 6:01 am, Robert Martin wrote:

I wonder whether Button Cells are built to provide double-click actions (seems kind of weird if they do).


Well, it works for me. In my case I have a palette of tool buttons. The single-click selects the tool, but the double-click provides some default behaviour related to the tool - for example double-clicking a zoom tool sets 100% zoom. That's very common behaviour in apps.

Oleg's code looks identical to mine (method names aside).

Must be some other reason...


Graham _______________________________________________

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: Can't get to work setDoubleAction on NSMatrix with NSButtonCell
      • From: "Oleg Krupnov" <email@hidden>
References: 
 >Can't get to work setDoubleAction on NSMatrix with NSButtonCell (From: "Oleg Krupnov" <email@hidden>)
 >Re: Can't get to work setDoubleAction on NSMatrix with NSButtonCell (From: Robert Martin <email@hidden>)

  • Prev by Date: Re: MySQL?
  • Next by Date: Re: Abusing targetForAction: with non-action selectors
  • Previous by thread: Re: Can't get to work setDoubleAction on NSMatrix with NSButtonCell
  • Next by thread: Re: Can't get to work setDoubleAction on NSMatrix with NSButtonCell
  • Index(es):
    • Date
    • Thread