MCPcopy Index your code
hub / github.com/RustPython/RustPython / coords

Method coords

Lib/tkinter/__init__.py:3686–3691  ·  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

3684 self.tk.call(self._w, 'set', value)
3685
3686 def coords(self, value=None):
3687 """Return a tuple (X,Y) of the point along the centerline of the
3688 trough that corresponds to VALUE or the current value if None is
3689 given."""
3690
3691 return self._getints(self.tk.call(self._w, 'coords', value))
3692
3693 def identify(self, x, y):
3694 """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