From 95ef4982ed1fd6c7f193d8e806e9e62dee8098fb Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 16 Oct 1998 16:10:09 +0000 Subject: Add close() method --- Tools/idle/ScrolledList.py | 3 +++ 1 file changed, 3 insertions(+) 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") -- cgit v0.12