Add close() method
This commit is contained in:
parent
e1dedc096e
commit
95ef4982ed
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in New Issue