is there any way how to force to update main frame? I just need this:
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.
To create a button when saved changes to True you can do the following: