Ejemplo n.º 1
0
 def cool():
     global f
     messagebox.show('hello world')
     f1 = Form(caption="New Form", left=320, top=200)
     btn1 = Button(f1, caption='Hello', left=5, top=5, width=200, height=100)
     btn1.on_click = cool2
     btn1.background = 'blue'
     f1.show_modal()
     print "I'm a cool app"