Answers for "tkinter button colors"

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
1

tkinter bg button

button(window, text-"click me", font=("arial", 25), bg="color", fg="color")
Posted by: Guest on November-14-2021
2

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')
Posted by: Guest on July-18-2020
0

gui button in tkinter color

import Image as PIL
import ImageTk
Posted by: Guest on September-22-2020

Python Answers by Framework

Browse Popular Code Answers by Language