runEventLoop() once.

Ben Timby <[email protected]>
Newsgroups gmane.comp.python.pyobjc.devel
Message-ID <[email protected]>
I am sorry if this is not the correct forum for questions of this
nature, but I could not find anywhere else to pose this question.

I am trying to integrate the cocoa event loop with the wx event loop.
I basically need to be able to do this:

while running:
    AppHelper.runEventsOnce()
    wx.RunEvents()

I have the wx side figured out, but I can't find any information on
how to do something similar with pyobjc-cocoa. To re-iterate, I don't
want to enter into a loop, I simply want cocoa to process any pending
events and then return. I will iteratively call said function until
the program ends.

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.