I am using Python 2.7.6 and wxPython 2.8.12.1 on Linux Mint 17.1 KDE Desktop 4.14.2. I am trying to develop an application in which the window will start maximized and there will be no maximize box or resize box. In other words users will not be able to resize the window. Here is my code.
I am using Python 2.7.6 and wxPython 2.8.12.1 on Linux Mint 17.1
KDE Desktop 4.14.2. I am trying to develop an application in
which the window will start maximized and there will be no
maximize box or resize box. In other words users will not be
able to resize the window. Here is my code.
import wx
class Frame1(wx.Frame):
def __init__(self, *args, **kwds):
kwds["style"] = (wx.DEFAULT_FRAME_STYLE|wx.MAXIMIZE) & ~ (wx.RESIZE_BORDER|wx.RESIZE_BOX|wx.MAXIMIZE_BOX)
wx.Frame.__init__(self, *args, **kwds)
self.Layout()
self.Show()
if __name__ == "__main__":
a = wx.App(0)
f = Frame1(None, -1, "No
Resize")
a.MainLoop()
``
On KDE desktop, I do not get the maximized window. What is it I
On Saturday, April 11, 2015 at 1:20:03 PM UTC+5:30, werner wrote:
On 4/11/2015 8:44, JC wrote:
Hello All,
I am using Python 2.7.6 and wxPython 2.8.12.1 on Linux Mint 17.1
KDE Desktop 4.14.2. I am trying to develop an application in
which the window will start maximized and there will be no
maximize box or resize box. In other words users will not be
able to resize the window. Here is my code.
import wx
class Frame1(wx.Frame):
def __init__(self, *args, **kwds):
kwds["style"] = (wx.DEFAULT_FRAME_STYLE|wx.MAXIMIZE) & ~ (wx.RESIZE_BORDER|wx.RESIZE_BOX|wx.MAXIMIZE_BOX)
wx.Frame.__init__(self, *args, **kwds)
self.Layout()
self.Show()
if __name__ == "__main__":
a = wx.App(0)
f = Frame1(None, -1, "No
Resize")
a.MainLoop()
``
On KDE desktop, I do not get the maximized window. What is it I