MCPcopy Create free account
hub / github.com/PyQt5/PyQt / onClose

Method onClose

Demo/WindowNotify.py:62–66  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

60 webbrowser.open_new_tab("http://alyl.vip")
61
62 def onClose(self):
63 # 点击关闭按钮时
64 print("onClose")
65 self.isShow = False
66 QTimer.singleShot(100, self.closeAnimation) # 启动弹回动画
67
68 def _init(self):
69 # 隐藏任务栏|去掉边框|顶层显示

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected