mirror of
https://github.com/python/cpython.git
synced 2025-07-19 17:25:54 +00:00
Added coords() and identify() methods to Scale class.
This commit is contained in:
parent
a69ada66d0
commit
b4750db3b3
1 changed files with 4 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue