[Pyobjc-dev] NSAppEnableForeground
Brought to you by:
ronaldoussoren
From: Bob I. <bo...@re...> - 2003-02-12 20:31:35
|
I've just submitted a patch on sourceforge to enable foreground operation of NSApplication if started outside of a bundle (i.e. python MyApp.py). Please put this in the tree, it doesn't hurt anything by being there, and it helps significantly during the development phase of projects. It has no effect when called if the application has been properly started from a bundle. The next version of pygame for OS X is going to have PyObjC as a dependency, and it's going to depend on this function if a user wants to test a project from the commandline. PyOpenGL already has this functionality, because this function (called __glutSetForeground, from libForeground.a) is internal to the GLUT framework (part of the glutInit call). -bob |