diff options
author | Guido van Rossum <guido@python.org> | 1998-10-16 16:10:09 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-10-16 16:10:09 (GMT) |
commit | 95ef4982ed1fd6c7f193d8e806e9e62dee8098fb (patch) | |
tree | 9ab5a32db5c7d97927d01cd1dc257382c62b3d6b /Tools/idle/ScrolledList.py | |
parent | e1dedc096e63afb186cb44239fe2add2995c1c13 (diff) | |
download | cpython-95ef4982ed1fd6c7f193d8e806e9e62dee8098fb.zip cpython-95ef4982ed1fd6c7f193d8e806e9e62dee8098fb.tar.gz cpython-95ef4982ed1fd6c7f193d8e806e9e62dee8098fb.tar.bz2 |
Add close() method
Diffstat (limited to 'Tools/idle/ScrolledList.py')
-rw-r--r-- | Tools/idle/ScrolledList.py | 3 |
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") |