i was woundering how you use canvas to place things in tkinter. can you mix canvas and grid? for example right now i have this program.
i've tried to add this underneath Label but it doesn't work.
from Tkinter import *
def __init__(self, root):
self.root = root
Label(root, text='Hi').grid(row=0, column=0)
root = Tk()
app = App(root)
i don't get any errors but it doesn't draw the rectangle.
canvas = Canvas(root, width =400, height=400)
canvas.create_rectangle(205,10,300,105, outline='white', fill='gray50')