Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import wx
- # Potrebujeme triedu...
- class Appka(wx.Frame): # Frame = Okno, je trieda...
- # Vytvorenie Framu, hned po spusteni ...
- def __init__(self,parent,id): # Konstruktor
- wx.Frame.__init__(self,parent,id,"Moje prve GUI", (300,200))
- if __name__ == '__main__':
- app = wx.PySimpleApp() # Aplication objekt
- frame = Appka(parent=None,id=-1) # Frame objekt
- frame.Show()
- app.MainLoop()
Advertisement
Add Comment
Please, Sign In to add comment