def gui_settler_color(self, button, color, alpha=None):
"""GUI setup helper - color"""
rgba = Gdk.RGBA()
rgba.parse(self.param[color].match())
if alpha is not None:
rgba.alpha = float(self.param[alpha].match())
self.gui[button].set_rgba(rgba)
# Handler generators
评论列表
文章目录