Answers for "canvas create image tkinter"

3

tkinter text in canvas

self.canvas = Canvas(root, width=800, height=650, bg = '#afeeee')
self.canvas.create_text(100,10,fill="darkblue",font="Times 20 italic bold",
                        text="Click the bubbles that are multiples of two.")
Posted by: Guest on May-06-2020
0

tkinter create_line

canvas.create_line(15, 25, 200, 25)
Posted by: Guest on June-20-2020
0

change image in tkinter canvas

"""
Change Image in Tkinter Canvas
img2 = New Image object
image_container = image holding container
canvasxyz = name of the image container canvas
"""
canvasxyz.itemconfig(image_container,image=img2)
Posted by: Guest on August-19-2021

Python Answers by Framework

Browse Popular Code Answers by Language