(self, new_palette, force=False)
Set the colours for all attributes.
Set the colours for all attributes.
Set the colours for all attributes .
def set_all(self, new_palette, force=False):
        """Set the colours for all attributes."""
        if force or self.allows_palette_change():
            self._palette = list(new_palette)
            self.submit()
def set_all ( self , new_palette , force = False ) : if force or self . allows_palette_change ( ) : self . _palette = list ( new_palette ) self . submit ( )