Tkinter-Window 在我的 MacBook 的外部辅助显示器上全屏显示

问题描述

首先,我是 python3 和 Tkinter 的新手……;)

我尝试在 MacBook 的外接显示器上创建一个全屏窗口,但没有成功。 我几乎什么也找不到,但 Windows 的解决方案……我不知道。

它在内部显示器上效果很好:

# transparent green fullscreen window topmost without cursor

from tkinter import *

root = Tk()
root.title("Title")
root.attributes("-fullscreen",True)
root.attributes('-topmost',True)
root.config(background='green',cursor='none')
root.attributes("-alpha",0.5)

root.mainloop()

有人有什么建议吗?

非常感谢米克

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)