Re: [NSApp stop:]

2008-10-09 Thread Michiel de Hoon
--- 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 std

Re: [NSApp stop:]

2008-10-09 Thread Michiel de Hoon
--- On Thu, 10/9/08, Jason Coco <[EMAIL PROTECTED]> wrote: > Submit a bug report and use a CFRunLoop for now :) > In my understanding, CFRunLoop cannot replace [NSApp run] for GUI applications. For example, see this thread: http://lists.apple.com/archives/Cocoa-dev/2008/Mar/msg01372.html So I g

[NSApp stop:]

2008-10-09 Thread Michiel de Hoon
Hi everybody, According to the documentation, [NSApp stop:] will break the flow of control out of the [NSApp run] method. While this is true, [NSApp run] doesn't notice that [NSApp stop:] was called until some other event comes along. So I call [NSApp stop:], nothing happens, and when I then