Add quit option to Menubar application

You can add a quit option to the menu with

action4 = QAction("Quit")
action4.triggered.connect(app.quit)
menu.addAction(action4)
1 Like