def _pick_colour(self): colour = askcolor() self.configure(text=colour[1]) ttk.Style().configure("ColourButton.TButton", background=colour[1])