您可以使用CSS设置Tkinter GUI的样式吗? [英] Can you style Tkinter GUIs with CSS?

查看:376
本文介绍了您可以使用CSS设置Tkinter GUI的样式吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果不是内置功能,是否有允许Python的Tkinter使用CSS的附加软件包?

If not a built-in feature, is there an add-on package that allows Python's Tkinter to use CSS?

推荐答案

如果您可以使用CSS,则无法使用相同的方式对其进行样式设置。

There are no options to style it the same way if you could use CSS.

该文档将有助于Tkinter样式设置:

This documentation will help for Tkinter styling:

http://effbot.org/tkinterbook/tkinter-widget-styleling。 htm

这篇关于您可以使用CSS设置Tkinter GUI的样式吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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