diff options
author | Guido van Rossum <guido@python.org> | 1996-09-06 14:20:23 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-09-06 14:20:23 (GMT) |
commit | 42b78e644164b4aee732fd78f3ca07c8ce11420c (patch) | |
tree | d2fcac0afe8cbcbb68d44d30aaa638e62494b605 /Lib/tkinter | |
parent | a25e5e9ae9ac71100d07c5e5617a19415440a228 (diff) | |
download | cpython-42b78e644164b4aee732fd78f3ca07c8ce11420c.zip cpython-42b78e644164b4aee732fd78f3ca07c8ce11420c.tar.gz cpython-42b78e644164b4aee732fd78f3ca07c8ce11420c.tar.bz2 |
Fixed Entry.select_from() to acually call the "select from" widget
command instead of the non-existant "select set". (Fred)
Diffstat (limited to 'Lib/tkinter')
-rwxr-xr-x | Lib/tkinter/Tkinter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tkinter/Tkinter.py b/Lib/tkinter/Tkinter.py index 1f784fd..fd25c84 100755 --- a/Lib/tkinter/Tkinter.py +++ b/Lib/tkinter/Tkinter.py @@ -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( |