Destroy Toplevel

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • 360monkey
    New Member
    • Feb 2010
    • 17

    Destroy Toplevel

    Hello Bytes Community!

    How do you destroy a toplevel application window in Tkinter?

    sayi have

    root window

    and

    [CODE]window = Toplevel()

    window.destroy?[/CODE

    How do i destroy the Toplevel?

    thanks in advance, sorry for the weak code...
  • bvdet
    Recognized Expert Specialist
    • Oct 2006
    • 2851

    #2
    widget.destroy( ) is a universal widget method that will destroy a widget and all its children.

    Comment

    Working...