You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyglet...@googlegroups.com
I've got a Pyglet app (actually a cocos2d game which uses Pyglet) and I've used py2app to create an .app bundle. When I launch the app, the window doesn't appear until I click on another app and then click onto my app's icon in the dock. Has anybody else seen this behavior? My setup:
MacOSX 10.7.3 Pyglet 1.2 dev Python 2.7.2
-Winston
Nathan
unread,
Apr 27, 2012, 11:24:24 AM4/27/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
If I run the python script from the command line, i.e. it has not been bundled into an App, the window does come to the front.
-ww
I have no clue what branch 1.2 dev is at this point. Is that a Carbon or Cocoa based pyglet?
Along with all the fullscreen stuff in 10.7's window manager, they seem to have changed how apps grab focus. The approach I used in the Cocoa port is pretty much a hack, and I never have tested it from within an .app bundle (theoretically, the hack should be unnecessary, and possibly detrimental, when running from an app bundle).
--
Tristam MacDonald
System Administrator, Suffolk University Math & CS Department