Internal function.
(self, itemType, args, kw)
| 3051 | self.tk.call((self._w, 'coords') + args))] |
| 3052 | |
| 3053 | def _create(self, itemType, args, kw): # Args: (val, val, ..., cnf={}) |
| 3054 | """Internal function.""" |
| 3055 | args = _flatten(args) |
| 3056 | cnf = args[-1] |
| 3057 | if isinstance(cnf, (dict, tuple)): |
| 3058 | args = args[:-1] |
| 3059 | else: |
| 3060 | cnf = {} |
| 3061 | return self.tk.getint(self.tk.call( |
| 3062 | self._w, 'create', itemType, |
| 3063 | *(args + self._options(cnf, kw)))) |
| 3064 | |
| 3065 | def create_arc(self, *args, **kw): |
| 3066 | """Create arc shaped region with coordinates x1,y1,x2,y2.""" |
no test coverage detected