Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

tkinter change ttk button color

button = tk.Button(root, text="Sign Out", bg='red', command= lambda: controller.show_frame(10)) #, highlightthickness = 0, bd = 0)
button.grid(row=3, column=0, sticky='ne', padx=20, pady=50)
Source by www.greenteapress.com #
 
PREVIOUS NEXT
Tagged: #tkinter #change #ttk #button #color
ADD COMMENT
Topic
Name
3+9 =