Commits

anatoly techtonik committed f8c56ba

03.button.py: make Exit button quit the application

Comments (0)

Files changed (1)

 
 # Create button (which is also top level window)
 button = QPushButton('Exit')
+button.clicked.connect(app.exit)
 button.show()
 
 # IMPORTANT: remember to assign GUI elements to variables or they