Kaydet (Commit) 95ef4982 authored tarafından Guido van Rossum's avatar Guido van Rossum

Add close() method

üst e1dedc09
......@@ -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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment