Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/p/e/PEATDB-2.3/PEATDB/Ekin/Tables.py   PEATDB(Download)
    def drawInactive(self):
        """Need to set color for inactive points"""
        for row in self.rowrange:
            if self.model.checkactivepoint(row) == 0:
                self.setcellColor(row, newColor='gray90', key='bg', redraw=False)
    def handle_point_activate(self, row, active=1):
        """Need to set color in a row if the corresponding point clicked in plotter"""
        if active == 0:
            self.setcellColor(row, newColor='yellow', key='bg')
            self.setcellColor(row, newColor=self.cellbackgr, key='bg')