--- On Fri, 10/10/08, Jason Coco <[EMAIL PROTECTED]> wrote:
> Is there a reason you want to stop the application event
> loop?
> 
I want to use Cocoa in an extension module to Python. When Python is not doing 
anything, I am runnning Cocoa's event loop. I let the event loop listen for 
input on stdin (i.e., when the user types in the next Python command at the 
Python prompt), and I want to stop the event loop if such input is available. 
Then I let Python execute the command, and I restart Cocoa's event loop once 
Python is done. Works beautifully, except of the [NSApp stop:] wart.

--Micheil.


      
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to