Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import wx
- class Panel(wx.Panel):
- def __init__(self, parent, id):
- wx.Panel.__init__(self, parent, id)
- class Schermpje(wx.Frame):
- def __init__(self, parent, id, title):
- wx.Frame.__init__(self, parent, id, title, size = (500,600))
- self.paneeltje = Panel(self, -1)
- self.SetPosition((200,200))
- self.Show(True)
- if __name__ == "__main__":
- app = wx.App()
- Schermpje(None, -1, "Simpel Scherm")
- app.MainLoop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement