(self, data, to=None)
Put row formatted colors to image starting from
        position TO, e.g. image.put("{red green} {blue yellow}", to=(4,6))
Put row formatted colors to image starting from
        position TO, e.g. image.put("{red green} {blue yellow}", to=(4,6))
Put row formatted colors to image starting from position TO e . g . image . put ( { red green } { blue yellow } to = ( 4 6 ))
def put(self, data, to=None):
        """Put row formatted colors to image starting from
        position TO, e.g. image.put("{red green} {blue yellow}", to=(4,6))"""
        args = (self.name, 'put', data)
        if to:
            if to[0] == '-to':
                to = to[1:]
            args = args + ('-to',) + tuple(to)
        self.tk.call(args)
def put ( self , data , to = None ) : args = ( self . name , 'put' , data ) if to : if to [ 0 ] == '-to' : to = to [ 1 : ] args = args + ( '-to' , ) + tuple ( to ) self . tk . call ( args )