Home > other >  The Text control border color Settings in the python3 Tk
The Text control border color Settings in the python3 Tk

Time:10-08



 
Self. Lab_id=Label (frame, the text="XXXXX", fg="black", the font=(" tahoma ", 18, "normal"), the justify="left")
Self. Lab_id. The grid (row=8, the column=1, rowspan=1, sticky=W)

Self. Lab_id=Text (frame, width=22, height=1, bd=3, wrap=WORD, the font=(" tahoma ", 18 "bold"))
Self. Lab_id. The grid (row=8, the column=1, rowspan=1, sticky=E)


how to XXXXX after the color of the casing outside the Text control set to green, blue? Similar to the following frame color:

CodePudding user response:

Watched some information online, seems there is no such Settings

CodePudding user response:

Use widgets. Config (highlightbackground=COLOR)
The widget
(widget) is your parts

CodePudding user response:

With sigh agghh TTK Settings
  • Related