Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to set background color for a button in tkinter

from tkinter import *
root = Tk()
button = Button(root, bg='red')  # Background color = red
button.pack()
root.mainloop
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #set #background #color #button #tkinter
ADD COMMENT
Topic
Name
4+8 =