Can you change the borderwidth color in tkinter? Ive been looking online and can only find how to change the widget border. | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Can you change the borderwidth color in tkinter? Ive been looking online and can only find how to change the widget border.

23rd Dec 2018, 8:47 PM
Michael Lucas
Michael Lucas - avatar
1 Antwort
+ 1
You cannot completely change the border color in tkinter! Yes it is one of the cons of tk Try highlightcolor attribute, yet you cannot change the bordercolor completely! It would be good to use the short-form 'bd' instead of 'borderwidth' to make code shorter ; )
2nd May 2020, 5:08 PM
A C K
A C K - avatar