AppGUI.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:stash-scanner 作者: senuido 项目源码 文件源码
def stop_scan(self):
        self.btn_toggle.config(text="Stopping..", state=DISABLED)

        ls = LoadingScreen(self, determinate=False)
        threading.Thread(target=self._stop_scan, args=(ls,)).start()
        self.wait_window(ls)

        if self.stop_error:
            self.update_started()
            messagebox.showwarning('Operation timed out',
                                   "Stop request timed out. If the issue persists, restart the application.",
                                   parent=self)
        else:
            self.update_stopped()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号