Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyQt5/PyQt
/ doExit
Method
doExit
Demo/AutoRestart.py:46–49 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
44
layout.addWidget(self.buttonExit)
45
46
def
doExit(self):
47
global canRestart
48
canRestart = False
49
self.close()
50
51
52
if
__name__ ==
"__main__"
:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected