Vidyalelo
Python · Q22

GUI Programming with Python

Programming · Python · question 22

Q22

How do you add an image to a Tkinter application?

A.
add_image()
B.
image.insert()
C.
Label(image=...)
Answer
D.
ImageWidget(image=...)

Answer: Option C

Solution

Answer: Option C
Solution:
The Label(image=...) syntax is used to add an image to a Tkinter application.