summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-09-06 14:20:23 (GMT)
committerGuido van Rossum <guido@python.org>1996-09-06 14:20:23 (GMT)
commit42b78e644164b4aee732fd78f3ca07c8ce11420c (patch)
treed2fcac0afe8cbcbb68d44d30aaa638e62494b605 /Lib/tkinter
parenta25e5e9ae9ac71100d07c5e5617a19415440a228 (diff)
downloadcpython-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-xLib/tkinter/Tkinter.py2
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(