I want to resize the canvas after adding some widgets to it
Example:
from Tkinter import * master = Tk() w = Canvas(master, width=100, height=100) w.config(bg='white') w.create_oval(90,90,110,110, width=0, fill = "ivory3") w = Canvas(master, width=200, height=200) w.pack() mainloop()
But it seems that when I re-declare the size of the canvas, the objects are deleted. Is it possible to update the canvas after I created some objects on it?
source share