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/m/o/modrana-HEAD/modules/mod_icons.py   modrana(Download)
        if fillColorString:
            fillColor = Color("fill", (fillColorString, fillAlpha))
            fillColorRGBATuple = fillColor.getCairoColor()
        else:
            fillColorRGBATuple = self.buttonFillColor
 
        if outlineColorString:
            outlineColor = Color("outline", (outlineColorString, outlineAlpha))
            outlineColorRGBATuple = outlineColor.getCairoColor()

src/m/o/modrana-HEAD/modules/mod_mapView.py   modrana(Download)
    def _drawGridColorCB(self, key, oldKey, newKey):
        if newKey is not None:
            try:
                c = color.Color(newKey, (newKey, 1.0))
                self.gridColor = c.getCairoColor()