Python Forum
Tkinter function to clear old canvas and start a fresh "operation"
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tkinter function to clear old canvas and start a fresh "operation"
#5
Delete may cause problems if there something that is still trying to draw on the old canvas. You need to stop drawing, clear the canvas, and then start the new drawing.
Reply


Messages In This Thread
RE: Tkinter function to clear old canvas and start a fresh "operation" - by deanhystad - Sep-30-2020, 06:43 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Using Tkinter inside function not working Ensaimadeta 5 5,326 Dec-03-2023, 01:50 PM
Last Post: deanhystad
  tkinter.TclError: can't invoke "canvas" command cybertooth 8 6,419 Feb-23-2023, 06:58 PM
Last Post: deanhystad
  Tkinter won't run my simple function AthertonH 6 4,141 May-03-2022, 02:33 PM
Last Post: deanhystad
  [Tkinter] Tkinter won't start uriel 4 2,560 Nov-17-2021, 05:05 PM
Last Post: uriel
  [Tkinter] tkinter best way to pass parameters to a function Pedroski55 3 5,077 Nov-17-2021, 03:21 AM
Last Post: deanhystad
  Creating a function interrupt button tkinter AnotherSam 2 5,723 Oct-07-2021, 02:56 PM
Last Post: AnotherSam
  [Tkinter] Have tkinter button toggle on and off a continuously running function AnotherSam 5 5,187 Oct-01-2021, 05:00 PM
Last Post: Yoriz
  [Tkinter] Clickable Rectangles Tkinter Canvas MrTim 4 9,206 May-11-2021, 10:01 PM
Last Post: MrTim
  [Tkinter] Draw a grid of Tkinter Canvas Rectangles MrTim 5 8,253 May-09-2021, 01:48 PM
Last Post: joe_momma
Thumbs Up tkinter canvas; different page sizes on different platforms? philipbergwerf 4 4,311 Mar-27-2021, 05:04 AM
Last Post: deanhystad

Forum Jump:

User Panel Messages

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