mirror of
https://github.com/python/cpython.git
synced 2025-07-21 10:15:46 +00:00
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:
parent
a25e5e9ae9
commit
42b78e6441
2 changed files with 2 additions and 2 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue