Return a list of coordinates for the item given in ARGS.
(self, *args)
| 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.""" |