On Linux, how do you disable re-sizing, but at the same time maximize the interface to begin with?
I have tried the following but it is not maximized:
style = wx.DEFAULT_FRAME_STYLE & ~wx.MAXIMIZE_BOX ^ wx.RESIZE_BORDER)
style = wx.MAXIMIZE | wx.DEFAULT_FRAME_STYLE & ~wx.MAXIMIZE_BOX ^ wx.RESIZE_BORDER
EDIT:
Tried Maximize() with resize disabled, still nothing. My versions: Linux, Python 2.4, wxPython 2.8.12.1
(style = wx.MAXIMIZE works for Windows, but not for Linux)
You're pretty close. You just forgot to call Maximize(). See below:
You might find this tutorial of mine useful for better understanding frame style flags:
Or this slightly older tutorial on maximizing: