Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

change color of butto in thkinter

button = Button(tkWindow, bg='blue')
button = Button(tkWindow, bg='black')
button = Button(tkWindow, bg='white')
button = Button(tkWindow, bg='red')
#hex values
button = Button(tkWindow, bg='#54FA9B')
button = Button(tkWindow, bg='#A877BA')
Source by pythonexamples.org #
 
PREVIOUS NEXT
Tagged: #change #color #butto #thkinter
ADD COMMENT
Topic
Name
4+7 =