I am making a program in wx.Python that is set to be in full screen, but I have an unresolved question about screen resolution.
I know how to detect the size of a window, and set the positions of items proportionally. And my program is currently doing this.
But is it possible to force the full screen to display at a fixed resolution of my choosing regardless of display resolution? (If it was, I could make one wide screen and one full screen layout to cover everyone.)
I have searched for a solution to this, but cannot find a lead! Perhaps it is simply impossible in wx.Python. But if not, can anyone point me in the correct direction?
Thank you for your time!
I think what you’re proposing is impossible. If the resolution of the monitor is set to 1900×1600 and you set your app to run at 800×600, the app will NOT be fullscreen. You can’t be fullscreen and be less than the resolution of the monitor. And I would argue that you can’t have your application be larger than the maximum resolution of the monitor if you want your app to be usable.
Can you set the Frame’s size? Of course you can. You do that when you instantiate the frame. Can you make it fullscreen? Yup. The frame object has a method called ShowFullScreen() just for that purpose. You can also screw around with style flags to modify it a little too. See also http://wiki.wxpython.org/Using%20Frame.ShowFullScreen