Hi All, Been using Pyglet for almost a week now and loving it. I've been struggling with handling window dimensions lately. Apologies if this does not belong on the Pyglet mailing list, as the solution may not involve using Pyglet.
I've searched Stackoverflow quite extensively and have found many direct and indirect methods of finding monitor dimensions on various platforms. A lot of these methods seem very hacky to me, e.g. create TKinter GUI, maximize it, and grab dimensions. I've actually tried this example, and it only works some times because Tkinter seems to choose a different monitor sometime (dual monitors), and I get the wrong dimensions. What is methods do you all use to grab monitor dimensions? Or should I not even have to worry about window dimensions? I wanted to grab window dimensions, and scale the window size accordingly (window width,height = 1/2 (monitor width, height) by default). Maybe I should just stick to hard-coded dimensions, and allow fullscreen. -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.
