如何构造tkinter以从根窗口终止command = def() [英] How to structure tkinter to terminate command=def() from root window

查看:55
本文介绍了如何构造tkinter以从根窗口终止command = def()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下内容构建了一个双按钮窗口。 "润QUOT;不会退出。我有结构问题。任何人都可以建议一个解决方法。

The following builds a two button window. "Run" will not "Quit". I have a structure problem. Can anyone please suggest a workaround.

展开 | 选择 | Wrap | 行号

推荐答案

展开 | 选择 | Wrap | 行号


nope,而不是Quit。
nope, not from "Quit".


所以,如果你不是说点击开始按钮后点击退出按钮,你的意思是什么?
So, if you don''t mean clicking the ''Quit'' button after clicking the ''Start'' button, what do you mean?


这篇关于如何构造tkinter以从根窗口终止command = def()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆