is there any way how to force to update main frame? I just need this:
if(saved(0)):
Tk.Button(self.frame, text="Continue", command=self.pokracovat, relief="groove").grid()
First, I open main window. Function "saved" returns false, so button is not created. Then i open some another window using toplevel. Main window is vanished. Then I close that window and open main window - function "saved" now returns true, but still button doesnt appear. I use self.root.update(), but it doesnt work.