Answers for "how to place a line on a tkinter canas"

4

rectangle in tkinter

from tkinter import *

root = Tk()

c = Canvas(root)
c.pack()
c.create_rectangle(100, 100, 200, 200)

root.mainloop()
Posted by: Guest on July-01-2020
0

tkinter create_line

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

Code answers related to "how to place a line on a tkinter canas"

Python Answers by Framework

Browse Popular Code Answers by Language