• 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: "Oleg Krupnov" <email@hidden>
  • Date: Tue, 16 Sep 2008 13:14:09 +0300

Thanks Graham.

I have checked your DrawKit demo and indeed everything seems identical
except that your code works and mine does not :)

Well, I ended up with copy/pasting the XIB of your tool palette and
its associated window controller and then completely replacing your
code with mine. Guess what - my code works now :)

I guess there was something wrong inside the XIB, but I haven't
figured out what.

Your DrawKit is helpful as always. Thanks!



On Tue, Sep 16, 2008 at 2:28 AM, Graham Cox <email@hidden> wrote:
>
> 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

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>)
 >Re: Can't get to work setDoubleAction on NSMatrix with NSButtonCell (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: structs in Mutable containers
  • Next by Date: Re: Outlet from Different Implementation?
  • Previous by thread: Re: Can't get to work setDoubleAction on NSMatrix with NSButtonCell
  • Next by thread: Strange property behavior
  • Index(es):
    • Date
    • Thread