On Tuesday, July 17, 2012 6:41:01 PM UTC+1, Bruce Smith wrote:
>
> On Tue, Jul 17, 2012 at 3:13 AM, anatoly techtonik wrote:
>
>> It looks like it is hard to get multiple displays working right in 
>> cross-platform manner. Should we remove deprecated API to make things less 
>> confusing?
>>
>> http://code.google.com/p/pyglet/issues/detail?id=586
>>
>
> Assuming they still work for some platforms, and presuming that some 
> people are relying on this feature in their specific applications, it seems 
> to me more friendly to just warn in the readme and documentation that this 
> feature doesn't work properly on all systems. (And if practical to provide 
> a list, or point to a wiki page, which lists the systems it works on or is 
> known to not work on.)
>
> - Bruce Smith
>

I agree with Bruce. For our software (psychopy) we use the pyglet's 
multi-display handling a great deal and it would be a shame to see it go 
away. On 1.1.4 we use this code:

    allScrs = 
pyglet.window.get_platform().get_default_display().get_screens()        
    if len(allScrs) > requestedScreen:
            screen = allScrs[requestedScreen]

Although the pyglet call looks long and contrived, it seems to work 
correctly on all systems (we have over 2000 active users and I'm sure 
someone would have complained if multi-screen handling didn't work on their 
system).

 Jon

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pyglet-users/-/QjSY_CEnkAwJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.

Reply via email to