Python Forum
[Tkinter] _tkinter.TclError: can't invoke "destroy" command: application has been destroyed
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] _tkinter.TclError: can't invoke "destroy" command: application has been destroyed
#6
This is the button that was added to the desired popup window that closes it properly. Why that works, but calling a root.after 3 seconds to destroy it is beyond me.


text_entry = Button (toplevel_windows, width = 10, height = 3, command=toplevel_windows.destroy)
Reply


Messages In This Thread
RE: _tkinter.TclError: can't invoke "destroy" command: application has been destroyed - by knoxvilles_joker - Apr-25-2021, 08:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  tkinter destroy label inside labelFrame Nick_tkinter 3 4,603 Sep-17-2023, 03:38 PM
Last Post: munirashraf9821
Exclamation [Tkinter] Error when closing the main window with destroy TomasSanchexx 1 817 Aug-06-2023, 01:54 AM
Last Post: deanhystad
  tkinter.TclError: can't invoke "canvas" command cybertooth 8 6,098 Feb-23-2023, 06:58 PM
Last Post: deanhystad
  [Tkinter] tkinter.TclError: expected integer but got " " TWB 2 3,786 Feb-19-2023, 05:11 PM
Last Post: TWB
  .get() invoke after a button nested press iddon5 5 3,313 Mar-29-2021, 03:55 AM
Last Post: deanhystad
  Menu destroy Heyjoe 5 3,391 Mar-02-2021, 01:45 AM
Last Post: Heyjoe
  "tkinter.TclError: NULL main window" Rama02 1 5,906 Feb-04-2021, 06:45 PM
Last Post: deanhystad
  [Tkinter] _tkinter.TclError: bitmap "Icon.gif" not defined djwilson0495 2 13,026 Aug-05-2020, 02:27 PM
Last Post: wuf
  [Tkinter] _tkinter.TclError: image "pyimage2" doesn't exist Killdoz 1 10,719 May-30-2020, 09:48 AM
Last Post: menator01
  tkinter.TclError: bad window path name kenwatts275 3 14,903 Apr-26-2020, 08:16 PM
Last Post: kenwatts275

Forum Jump:

User Panel Messages

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