summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Tools/idle/ScrolledList.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/idle/ScrolledList.py b/Tools/idle/ScrolledList.py
index 703cd0c..ef2fde4 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")