Answers for "Tkinter create rectangle"

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
3

tkinter draw squaer

canvas.create_rectangle(30, 10, 120, 80,
    outline="#fb0", fill="#fb0")
Posted by: Guest on February-19-2020

Code answers related to "Tkinter create rectangle"

Python Answers by Framework

Browse Popular Code Answers by Language