当前位置:网站首页>The new content of the text component can be added through the tag_ Config set foreground and background colors
The new content of the text component can be added through the tag_ Config set foreground and background colors
2022-07-05 22:08:00 【Moxianzhe】
Text When adding content to a component , Can pass tag_config Set the foreground color for a specific string 、 Background color and other properties .
self.text1.tag_config('red',foreground = 'red',background = 'yellow') # Create tags in the message list partition ,ys2 style 2 The foreground color of the picture is red
self.text1.insert(END,str(msg) + '\n','red')边栏推荐
- Comment développer un plug - in d'applet
- Evolution of large website architecture and knowledge system
- DataGrid directly edits and saves "design defects"
- Serializability of concurrent scheduling
- 如何開發引入小程序插件
- Image editor for their AutoLayout environment
- Leetcode simple question: find the nearest point with the same X or Y coordinate
- What if win11 is missing a DLL file? Win11 system cannot find DLL file repair method
- Talking about MySQL index
- Common interview questions of JVM manufacturers
猜你喜欢

【愚公系列】2022年7月 Go教学课程 004-Go代码注释

Talking about MySQL index

Decorator learning 01

Implementation technology of recovery

Deeply convinced plan X - network protocol basic DNS

Alternating merging strings of leetcode simple questions

Overview of database recovery

Leetcode simple question check whether all characters appear the same number of times

极狐公司官方澄清声明

Oracle triggers
随机推荐
Server optimization of performance tuning methodology
Summarize the reasons for 2XX, 3xx, 4xx, 5xx status codes
The statistics of leetcode simple question is the public string that has appeared once
极狐公司官方澄清声明
Oracle triggers
Unique occurrence times of leetcode simple questions
Oracle checkpoint queue - Analysis of the principle of instance crash recovery
HDU 4391 Paint The Wall 段树(水
[Yugong series] go teaching course 003-ide installation and basic use in July 2022
Performance testing of software testing
Draw a red lantern with MATLAB
Basic grammar of interview (Part 1)
Sentinel production environment practice (I)
Summary of El and JSTL precautions
Cobaltstrike builds an intranet tunnel
如何開發引入小程序插件
Meituan dynamic thread pool practice ideas, open source
Installation of VMware Workstation
Dbeaver executes multiple insert into error processing at the same time
Codeforces 12D ball tree array simulation 3 sorting elements