如何使Tkinter窗口跳到最前面?在mainloop()之后

时间:2019-02-27 09:52:23

标签: python tkinter

当应用程序最小化到扩展坞时,如何使Tkinter应用程序跳到最前面? 我用 :   os.system('''/usr/bin/osascript -e 'tell app "Finder" to set frontmost of process "autoinstall" to true' ''') 我发现它可以重新打开Safair,但不能重新打开Tkinter应用程序,因为此代码在mainloop()之后调用 处理我的情况的最好方法是什么?

0 个答案:

没有答案