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

Method coords

Lib/tkinter/__init__.py:3046–3051  ·  view source on GitHub ↗

Return a list of coordinates for the item given in ARGS.

(self, *args)

Source from the content-addressed store, hash-verified

3044 self._w, 'canvasy', screeny, gridspacing))
3045
3046 def coords(self, *args):
3047 """Return a list of coordinates for the item given in ARGS."""
3048 args = _flatten(args)
3049 return [self.tk.getdouble(x) for x in
3050 self.tk.splitlist(
3051 self.tk.call((self._w, 'coords') + args))]
3052
3053 def _create(self, itemType, args, kw): # Args: (val, val, ..., cnf={})
3054 """Internal function."""

Callers

nothing calls this directly

Calls 4

getdoubleMethod · 0.80
splitlistMethod · 0.80
_flattenFunction · 0.70
callMethod · 0.45

Tested by

no test coverage detected