import wx class Example(wx.Frame): def __init__(self, parent, title): super(Example, self).__init__(parent, title=title, size=(300, 200)) #self.Move((800, 250)) #self.Centre() #center window on our screen self.Show() if __name__ == '__main__': app = wx.App() Example(None, title='Size and position') app.MainLoop()
article
Friday, May 27, 2016
wxPython frame example
wxPython frame example