Change color of one letter in label. Python

依然范特西╮ 提交于 2021-02-11 12:29:10

问题


I can change color of all text in label, but I want to change color of one letter.

Is that possible?

I use tkiner and python 3.3.


回答1:


No, it is not possible to change the color of one letter in a label. However, you can use a text widget instead of a label to color just a single character. You could also use a canvas widget.



来源:https://stackoverflow.com/questions/22071505/change-color-of-one-letter-in-label-python

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!