Lines Matching refs:args
307 'def %(method)s(self, *args, **kw): return ' +
308 'self.%(attribute)s.%(method)s(*args, **kw)')
400 def bbox(self, *args):
403 return self._canvas.bbox(*args)
405 def cget(self, *args, **kwargs):
408 return self._canvas.cget(*args, **kwargs)
410 def config(self, *args, **kwargs):
413 self._canvas.config(*args, **kwargs)
415 def bind(self, *args, **kwargs):
418 self._canvas.bind(*args, **kwargs)
420 def unbind(self, *args, **kwargs):
423 self._canvas.unbind(*args, **kwargs)
1144 """Return color string corresponding to args.
1223 def bgcolor(self, *args):
1237 if args:
1238 color = self._colorstr(args)
2177 def color(self, *args):
2209 if args:
2210 l = len(args)
2212 pcolor = fcolor = args[0]
2214 pcolor, fcolor = args
2216 pcolor = fcolor = args
2223 def pencolor(self, *args):
2252 if args:
2253 color = self._colorstr(args)
2260 def fillcolor(self, *args):
2288 if args:
2289 color = self._colorstr(args)
2468 def _color(self, args):
2470 def _colorstr(self, args):
2693 def _color(self, args):
2694 return self.screen._color(args)
2696 def _colorstr(self, args):
2697 return self.screen._colorstr(args)
2699 def _cc(self, args):
2702 if isinstance(args, str):
2703 return args
2705 r, g, b = args
2707 raise TurtleGraphicsError("bad color arguments: %s" % str(args))
2711 raise TurtleGraphicsError("bad color sequence: %s" % str(args))
3913 args, varargs, varkw = inspect.getargs(ob.__code__)
3914 items2 = args[1:]
3915 realArgs = args[1:]