Re: Can't get to work setDoubleAction on NSMatrix with NSButtonCell
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