tkinter全屏移动我的辅助显示5像素上的窗口
刚刚在我的Tkinter Python应用程序上实现了全屏选项。 效果很好,胸围一些意外的行为。
我的笔记本电脑连接到辅助屏幕。 将我的应用切换到全屏模式时,辅助显示上的窗口移动5像素。当我逃脱全屏模式时,辅助屏幕中的窗口会移回原始位置。
其他人经历了这种行为吗?
谢谢您的回应。 I use a function:
def switch_FullScreen(*args):
root.attributes("-fullscreen", 1)
return true
[python3.10]
Just implemented a fullscreen option on my tKinter python app.
Works fine bust some unexpected behaviour.
My laptop is connected to a secondary screen.
When switching my app to fullscreen mode, the window on my secondary display moves 5 pixels. When I escape fullscreen mode, the window in my secondary screen moves back to the original position.
Anyone else experienced this behaviour?
Thank you for responding. I use a function:
def switch_FullScreen(*args):
root.attributes("-fullscreen", 1)
return true
[python3.10]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论