def changeFg(self): (triple, hexstr) = askcolor() if hexstr: SettingsManager.change_setting("font_color", hexstr) #update settings self.text.config(fg=hexstr)
def changeBg(self): (triple, hexstr) = askcolor() if hexstr: SettingsManager.change_setting("background_color", hexstr) #update settings self.text.config(bg=hexstr)