summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/lib-tk')
-rw-r--r--Lib/lib-tk/Tkinter.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py
index 523db9e..3098c6c 100644
--- a/Lib/lib-tk/Tkinter.py
+++ b/Lib/lib-tk/Tkinter.py
@@ -1552,6 +1552,10 @@ class Scale(Widget):
return getdouble(value)
def set(self, value):
self.tk.call(self._w, 'set', value)
+ def coords(self, value=None):
+ return self._getints(self.tk.call(self._w, 'coords', value))
+ def identify(self, x, y):
+ return self.tk.call(self._w, 'identify', x, y)
class Scrollbar(Widget):
def __init__(self, master=None, cnf={}, **kw):