0

Hi
i have been fiddling around with the wxPython GUI toolkit for a bit and i wanted one of my programs to start with the window expanded. I googled it but couldn't find an answer there so any help here would be greatly appreciated.

3
Contributors
4
Replies
5
Views
9 Years
Discussion Span
Last Post by Paul Thompson
0

Try ...

frame.SetSize((x, y))

# another way, wx.Frame has a ShowFullScreen method
# strips all border decorations and buttons
# (False restores original frame)
myFrame.ShowFullScreen(True, style=wx.FULLSCREEN_ALL)
0

is there any way using the os or sys modules that you can find the resolution of the screen and then maybe apply it to

frame.SetSize((x,y))

so that way it could run on machines that had different resolutions without looking weird

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.