Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Bring pyglet.window to front in OSX?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Winston Wolff  
View profile  
 More options Apr 20 2012, 2:57 pm
From: Winston Wolff <winstonwo...@cal.berkeley.edu>
Date: Fri, 20 Apr 2012 11:57:27 -0700
Local: Fri, Apr 20 2012 2:57 pm
Subject: Bring pyglet.window to front in OSX?
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan  
View profile  
 More options Apr 27 2012, 11:24 am
From: Nathan <nathan.sto...@gmail.com>
Date: Fri, 27 Apr 2012 09:24:24 -0600
Local: Fri, Apr 27 2012 11:24 am
Subject: Re: Bring pyglet.window to front in OSX?
Does it happen before you create the .app bundle?

~ Nathan

On Fri, Apr 20, 2012 at 12:57 PM, Winston Wolff


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Winston Wolff  
View profile  
 More options Apr 27 2012, 11:56 am
From: Winston Wolff <winstonwo...@cal.berkeley.edu>
Date: Fri, 27 Apr 2012 08:56:49 -0700
Local: Fri, Apr 27 2012 11:56 am
Subject: Re: Bring pyglet.window to front in OSX?
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

On Apr 27, 2012, at 8:24 AM, Nathan wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tristam MacDonald  
View profile  
 More options Apr 27 2012, 12:24 pm
From: Tristam MacDonald <swiftco...@gmail.com>
Date: Fri, 27 Apr 2012 12:24:15 -0400
Local: Fri, Apr 27 2012 12:24 pm
Subject: Re: Bring pyglet.window to front in OSX?

On Fri, Apr 27, 2012 at 11:56 AM, Winston Wolff <

winstonwo...@cal.berkeley.edu> wrote:
> 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
http://swiftcoder.wordpress.com/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »