• 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: pump event
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: Re: How to use Uniform Type Identifiers for this ... ?
  • Next by Date: Re: PackageMaker installer not always installing into /Applications
  • Previous by thread: pump event
  • Next by thread: Re: pump event
  • Index(es):
    • Date
    • Thread