Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Grid_Destory() Not Working
#3
(Mar-03-2021, 09:18 PM)bowlofred Wrote: Each time in your callback you mark the window to be removed from the grid. But nothing happens until your function exits and TK redraws the screen via tasks in mainloop.

On your last time, your function never exits, so TK never redraws the screen. Try adding a call to window4.update() to redraw the screen.

Before every line that says heart_1.destroy I have put window_4.update() and the same issue still occurs.
Reply


Messages In This Thread
Grid_Destory() Not Working - by finndude - Mar-03-2021, 06:53 PM
RE: Grid_Destory() Not Working - by bowlofred - Mar-03-2021, 09:18 PM
RE: Grid_Destory() Not Working - by finndude - Mar-04-2021, 09:43 AM
RE: Grid_Destory() Not Working - by deanhystad - Mar-04-2021, 02:05 PM
RE: Grid_Destory() Not Working - by finndude - Mar-04-2021, 02:18 PM
RE: Grid_Destory() Not Working - by deanhystad - Mar-04-2021, 03:21 PM
RE: Grid_Destory() Not Working - by finndude - Mar-04-2021, 05:11 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020