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

Toplevel

I can’t assign image in toplevel tkinter … Any idea? My code is: Img=image’file’ Lbl=tk.Label(toplevel1 , image=Img)

12th Jun 2021, 4:51 AM
Mah~
Mah~ - avatar
4 Answers
+ 3
If you are using Tkinter in Sololearn, then please note that Tkinter is not supported here! Happy learning! 🙂
12th Jun 2021, 5:01 AM
Abhiyantā
Abhiyantā - avatar
+ 2
Please give full code!
12th Jun 2021, 5:23 AM
Abhiyantā
Abhiyantā - avatar
0
No I’m using VS
12th Jun 2021, 5:10 AM
Mah~
Mah~ - avatar
0
I’ve found the problem. We have to make the image global in the toplevel Thanks anyway🌼
12th Jun 2021, 6:26 AM
Mah~
Mah~ - avatar