MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / coords

Method coords

tools/python-3.11.9-amd64/Lib/tkinter/__init__.py:3557–3562  ·  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

3555 self.tk.call(self._w, 'set', value)
3556
3557 def coords(self, value=None):
3558 """Return a tuple (X,Y) of the point along the centerline of the
3559 trough that corresponds to VALUE or the current value if None is
3560 given."""
3561
3562 return self._getints(self.tk.call(self._w, 'coords', value))
3563
3564 def identify(self, x, y):
3565 """Return where the point X,Y lies. Valid return values are "slider",

Callers 12

attachMethod · 0.45
pressMethod · 0.45
moveMethod · 0.45
putbackMethod · 0.45
adjust_labelMethod · 0.45
test_create_rectangleMethod · 0.45
test_create_lineMethod · 0.45
test_create_polygonMethod · 0.45
test_coordsMethod · 0.45
test_horizontal_rangeMethod · 0.45
test_variable_changeMethod · 0.45
test_resizeMethod · 0.45

Calls 2

_getintsMethod · 0.80
callMethod · 0.80

Tested by 7

test_create_rectangleMethod · 0.36
test_create_lineMethod · 0.36
test_create_polygonMethod · 0.36
test_coordsMethod · 0.36
test_horizontal_rangeMethod · 0.36
test_variable_changeMethod · 0.36
test_resizeMethod · 0.36