Fixed Entry.select_from() to acually call the "select from" widget

command instead of the non-existant "select set".  (Fred)
This commit is contained in:
Guido van Rossum 1996-09-06 14:20:23 +00:00
parent a25e5e9ae9
commit 42b78e6441
2 changed files with 2 additions and 2 deletions

View file

@ -1123,7 +1123,7 @@ class Entry(Widget):
self.tk.call(self._w, 'selection', 'clear')
select_clear = selection_clear
def selection_from(self, index):
self.tk.call(self._w, 'selection', 'set', index)
self.tk.call(self._w, 'selection', 'from', index)
select_from = selection_from
def selection_present(self):
return self.tk.getboolean(