Process toggle between builtin and custom theme. Update the default toggle value and apply the newly selected theme type.
(self, *params)
| 795 | self.paint_theme_sample() |
| 796 | |
| 797 | def var_changed_theme_source(self, *params): |
| 798 | """Process toggle between builtin and custom theme. |
| 799 | |
| 800 | Update the default toggle value and apply the newly |
| 801 | selected theme type. |
| 802 | """ |
| 803 | value = self.theme_source.get() |
| 804 | changes.add_option('main', 'Theme', 'default', value) |
| 805 | if value: |
| 806 | self.var_changed_builtin_name() |
| 807 | else: |
| 808 | self.var_changed_custom_name() |
| 809 | |
| 810 | def var_changed_color(self, *params): |
| 811 | "Process change to color choice." |
nothing calls this directly
no test coverage detected