New submission from IceWorm :
create a window using Tk()
create canvas
create image using create_image
enter main loop
IT OK ABOVE
-
BUT BELOW WILL not show image. just extract code to a method.
def setupUI(winddow):
create canvas
create image using create_image
create a window using Tk()
call setupUI(window)
enter main loop
--
components: Tkinter
files: test.py
messages: 381929
nosy: MangoIceCup
priority: normal
severity: normal
status: open
title: Canvas's create_image method not work in some situaction.
type: behavior
versions: Python 3.6, Python 3.7, Python 3.8, Python 3.9
Added file: https://bugs.python.org/file49626/test.py
___
Python tracker
<https://bugs.python.org/issue42479>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com