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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to