[New-bugs-announce] [issue42479] Canvas's create_image method not work in some situaction.

IceWorm report at bugs.python.org
Fri Nov 27 03:04:38 EST 2020


New submission from IceWorm <zgscgycxqp at yeah.net>:

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 <report at bugs.python.org>
<https://bugs.python.org/issue42479>
_______________________________________


More information about the New-bugs-announce mailing list