Advertisement
Guest User

Untitled

a guest
May 25th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.48 KB | None | 0 0
  1. import wx
  2.  
  3. class Panel(wx.Panel):
  4.     def __init__(self, parent, id):
  5.         wx.Panel.__init__(self, parent, id)        
  6.  
  7. class Schermpje(wx.Frame):
  8.     def __init__(self, parent, id, title):
  9.         wx.Frame.__init__(self, parent, id, title, size = (500,600))
  10.         self.paneeltje = Panel(self, -1)
  11.         self.SetPosition((200,200))
  12.         self.Show(True)
  13.  
  14. if __name__ == "__main__":
  15.     app = wx.App()
  16.     Schermpje(None, -1, "Simpel Scherm")
  17.     app.MainLoop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement