mirror of
https://github.com/python/cpython
synced 2024-10-19 11:48:32 +00:00
Added coords() and identify() methods to Scale class.
This commit is contained in:
parent
a69ada66d0
commit
b4750db3b3
|
@ -1552,6 +1552,10 @@ def get(self):
|
|||
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…
Reference in a new issue