Re: [Pyobjc-dev] runEventLoop() once.
Brought to you by:
ronaldoussoren
From: Ben A. <be...@ar...> - 2010-12-07 15:55:40
|
> 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. The general idea is [[NSRunLoop currentRunLoop] runUntilDate:[NSDate dateWithTimeIntervalSinceNow:cocoaTimeSlice]] for some small value of cocoaTimeSlice that you will need to decide on your own. -- <http://artins.org/ben>, <http://twitter.com/airbornemint> "Calling computing 'computer science' is like calling surgery 'knife science'." — Edsger Dijkstra |