Re: pump event
Re: pump event
- Subject: Re: pump event
- From: Jonathan Hess <email@hidden>
- Date: Sun, 25 Oct 2009 23:58:59 -0700
Perhaps you're looking for these methods:
-[NSApplication currentEvent]
-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
Documented here:
http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ApplicationKit/Classes/NSApplication_Class/Reference/Reference.html
Good Luck -
Jon Hess
On Oct 25, 2009, at 7:59 AM, simon Scylla wrote:
hello every one
i need to get current system event,waiting until the function get some
event,then remove it from the queue
what should i do?
_______________________________________________
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
_______________________________________________
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: | |
| >pump event (From: simon Scylla <email@hidden>) |