Check Button | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Check Button

Hi I wanted to change the color background of checkbutton in tkinter I coded: Checkbutton(root,text,bg=“black”,font=()) But it gives me error: unknown option bg How can I change the background then? Also I can’t change the font…

11th Jun 2021, 6:12 PM
Mah~
Mah~ - avatar
1 Answer
+ 1
You can change it by following: checkbutton.configure(bg="black")
11th Jun 2021, 6:27 PM
Shadoff
Shadoff - avatar