Re: Cocoa Python broken in Leopard??
Re: Cocoa Python broken in Leopard??
- Subject: Re: Cocoa Python broken in Leopard??
- From: Luc Heinrich <email@hidden>
- Date: Thu, 8 Nov 2007 09:32:35 +0100
On 7 nov. 07, at 17:48, Bill Bumgarner wrote:
Import Quartz *after* the application's main event loop has been
started, either in applicationDidFinishLaunching_() as I
demonstrated in my first message:
Actually, this should probably be "import Quartz *after* the
application is connected to the window server", which is slightly
different. In my different tests to find a workaround to this issue
(which I still call a problem since this was working perfectly using
PyObjC 1.4 on OS X 10.4, but maybe PyObjC 2 is actually fixing
something which should never have worked to begin with ? :)), it
looked like calling NSApplication.sharedApplication() early, and more
importantly *before* importing Quartz, was allowing my alias builds
to launch correctly.
--
Luc Heinrich
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden