MCPcopy Index your code
hub / github.com/python/cpython / coords

Method coords

Lib/tkinter/__init__.py:3768–3773  ·  view source on GitHub ↗

Return a tuple (X,Y) of the point along the centerline of the trough that corresponds to VALUE or the current value if None is given.

(self, value=None)

Source from the content-addressed store, hash-verified

3766 self.tk.call(self._w, 'set', value)
3767
3768 def coords(self, value=None):
3769 """Return a tuple (X,Y) of the point along the centerline of the
3770 trough that corresponds to VALUE or the current value if None is
3771 given."""
3772
3773 return self._getints(self.tk.call(self._w, 'coords', value))
3774
3775 def identify(self, x, y):
3776 """Return where the point X,Y lies. Valid return values are "slider",

Callers 5

attachMethod · 0.45
pressMethod · 0.45
moveMethod · 0.45
putbackMethod · 0.45
adjust_labelMethod · 0.45

Calls 2

_getintsMethod · 0.80
callMethod · 0.45

Tested by

no test coverage detected