圆角窗口 Tkinter [英] Round corner window Tkinter

查看:99
本文介绍了圆角窗口 Tkinter的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么方法可以创建一个圆角的 tkinter 窗口,类似于下图中的窗口.任何建议都会非常有帮助.

Is there any way to create a tkinter window with round corner similar to the window in the below image. Any suggestions will be really helpful.

推荐答案

窗口是由你的操作系统控制的,而不是 tkinter,所以据我所知你不能在 python 中做任何事情.这并不是说你不能让你的操作系统有圆角,假设你有 Windows 正在更新 1903,应该不会太难做到.

The window is controlled by your OS, not tkinter, so you can't do anything in python as far as I know. That's not to say you can't just make your OS have rounded corners, which assuming you have Windows and are on update 1903, shouldn't be too hard to do.

这篇关于圆角窗口 Tkinter的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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