Q29
How do you change the font of a widget's text in Tkinter?
A.
font.set("NewFont")
B.
widget.font("NewFont")
C.
widget.configure(font="NewFont")
AnswerD.
widget.set_font("NewFont")
Answer: Option C
Solution
Answer: Option C
Solution:
The widget.configure(font="NewFont") method is used to change the font of a widget's text in Tkinter.