Python学习笔记0218(tkinter系列)

1、tags用法学习 from tkinter import * root=Tk() text=Text(root,width=30,height=5) text.pack() text.insert(INSERT,“从前车马很慢,一生只爱一人”) text.tag_add(“tag1”,“1.7”,“1.12”,“1.14”) text.tag_config(“tag1”,background=
相关文章
相关标签/搜索