Найти - Пользователи
Полная версия: Tkinter Canvas вывод изображения
Начало » GUI » Tkinter Canvas вывод изображения
1
Pavel_L
img = PhotoImage(file=“d/f.gif”)
canv.create_image(0,0,image=img, anchor=“nw”)

Кто знает, почему изображение не отображается когда использую этот код в процедуре?
sp3
img сохраняй куда нибудь:

imgs = []
def addimgfoo():
img = PhotoImage(file="d/f.gif")
canv.create_image(0,0,image=img, anchor="nw")
imgs.append(img)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB