(self, palette_id)
return Gdk.color_parse(colourpalette[palette_id])
Returns the configured Gdk color for the given palette ID.
Returns the configured Gdk color for the given palette ID.
Returns the configured Gdk color for the given palette ID .
def get_palette_color(self, palette_id):
        """Returns the configured Gdk color for the given palette ID."""
        if self.config['palette'] in self.palettes:
            colourpalette = self.palettes[self.config['palette']]
        else:
            colourpalette = self.config['palette'].split(':')
        return Gdk.color_parse(colourpalette[palette_id])
def get_palette_color ( self , palette_id ) : if self . config [ 'palette' ] in self . palettes : colourpalette = self . palettes [ self . config [ 'palette' ] ] else : colourpalette = self . config [ 'palette' ] . split ( ':' ) return Gdk . color_parse ( colourpalette [ palette_id ] )