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

Method coords

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

2832 self._w, 'canvasy', screeny, gridspacing))
2833
2834 def coords(self, *args):
2835 """Return a list of coordinates for the item given in ARGS."""
2836 # XXX Should use _flatten on args
2837 return [self.tk.getdouble(x) for x in
2838 self.tk.splitlist(
2839 self.tk.call((self._w, 'coords') + args))]
2840
2841 def _create(self, itemType, args, kw): # Args: (val, val, ..., cnf={})
2842 """Internal function."""

Callers

nothing calls this directly

Calls 2

getdoubleMethod · 0.80
callMethod · 0.80

Tested by

no test coverage detected