(self)
Load the palette from the configuration into the color buttons.
Load the palette from the configuration into the color buttons.
Load the palette from the configuration into the color buttons .
def load_palette(self):
        """Load the palette from the configuration into the color buttons."""
        colourpalette = self.config['palette'].split(':')
        for palette_id in range(0, NUM_PALETTE_COLORS):
            color = Gdk.color_parse(colourpalette[palette_id])
            self.load_palette_color(palette_id, color)
def load_palette ( self ) : colourpalette = self . config [ 'palette' ] . split ( ':' ) for palette_id in range ( 0 , NUM_PALETTE_COLORS ) : color = Gdk . color_parse ( colourpalette [ palette_id ] ) self . load_palette_color ( palette_id , color )