diff --git a/Tools/idle/ScrolledList.py b/Tools/idle/ScrolledList.py index 703cd0c3a31..ef2fde40571 100644 --- a/Tools/idle/ScrolledList.py +++ b/Tools/idle/ScrolledList.py @@ -25,6 +25,9 @@ class ScrolledList: # Set the focus listbox.focus_set() + def close(self): + self.frame.destroy() + def clear(self): self.listbox.delete(0, "end")