Re: detecting an option-click on a button
Re: detecting an option-click on a button
- Subject: Re: detecting an option-click on a button
- From: Graham Cox <email@hidden>
- Date: Fri, 31 Oct 2008 10:27:15 +1100
On 31 Oct 2008, at 8:51 am, Paul Archibald wrote:
but of course the currentEvent is not necessarily related to the
sender
I think you'll find it is. Only one event is handled per event loop,
and when the action method is called it's synchronous with that loop.
Thus the current event will be the click that caused the action to get
sent.
--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