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