def on_color_change(self, *args):
rgba = self.gui['color_selector'].get_current_rgba()
self.store['colorlist'].set_value(self.color_selected, self.ced['Color'], hex_from_rgba(rgba))
self.store['colorlist'].set_value(self.color_selected, self.ced['Alpha'], rgba.alpha)
self.store['colorlist'].set_value(self.color_selected, self.ced['RGBA'], rgba.to_string())
self.refresh()
评论列表
文章目录