Answers for "how to change tkinter button background color"

2

tkinter button background color mac

#Use highlightbackground=color
#For example:

submit = Button(root, text="Generate", highlightbackground='#3E4149')
Posted by: Guest on June-03-2020
3

how to change button background color while clicked tkinter python

#Type "activebackground=" + your chosen background color between commas
col = Button(yourWindow, text='col', bg='gray25', activebackground='cyan')
Posted by: Guest on September-03-2020

Code answers related to "how to change tkinter button background color"

Python Answers by Framework

Browse Popular Code Answers by Language