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