Logo Search packages:      
Sourcecode: uligo version File versions  Download package

def board1::Board::placeMark (   self,
  pos,
  color 
)

Place colored mark at pos. 

Definition at line 421 of file board1.py.

00421                                    :
        """ Place colored mark at pos. """
        x1, x2, y1, y2 = self.getPixelCoord(pos, 1)
        self.create_oval(x1+2, x2+2, y1-2, y2-2, fill = color, tags=('marks','non-bg'))
        self.marks[pos]=color
        self.onChange()

    def delMarks(self):


Generated by  Doxygen 1.6.0   Back to index