• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa Python broken in Leopard??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Cocoa Python broken in Leopard??
      • From: Uliano Guerrini <email@hidden>
References: 
 >Cocoa Python broken in Leopard?? (From: Uliano Guerrini <email@hidden>)
 >Re: Cocoa Python broken in Leopard?? (From: Bill Bumgarner <email@hidden>)
 >Re: Cocoa Python broken in Leopard?? (From: Uliano Guerrini <email@hidden>)
 >Re: Cocoa Python broken in Leopard?? (From: Bill Bumgarner <email@hidden>)
 >Re: Cocoa Python broken in Leopard?? (From: Uliano Guerrini <email@hidden>)
 >Re: Cocoa Python broken in Leopard?? (From: Bill Bumgarner <email@hidden>)

  • Prev by Date: NSStatusItem problem
  • Next by Date: ImageBrowser and Garbage Collection
  • Previous by thread: Re: Cocoa Python broken in Leopard??
  • Next by thread: Re: Cocoa Python broken in Leopard??
  • Index(es):
    • Date
    • Thread