Using Tkinter I have a Toplevel named self.edit_window, a Frame named frame and a Canvas named canvas. All I want to do is add the frame to the canvas, which I try to do by using the create_window method:
#make canvas
canvas = Tkinter.Canvas(self.edit_window)
#make frame and add to canvas
frame = Tkinter.Frame()
canvas.create_window(0,0, anchor = Tkconstants.NW, window = frame, width = 200, height = 200)
And I get the following error on the create_window call:
TclError: can't use .173048428 in a window item of this canvas
And I have no idea what that means. Any ideas?