Check Button | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
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 Antwort
+ 1
You can change it by following: checkbutton.configure(bg="black")
11th Jun 2021, 6:27 PM
Shadoff
Shadoff - avatar