Process new custom theme selection. If a new custom theme is selected, add the name to the changed_items and apply the theme to the sample.
(self, *params)
| 784 | self.paint_theme_sample() |
| 785 | |
| 786 | def var_changed_custom_name(self, *params): |
| 787 | """Process new custom theme selection. |
| 788 | |
| 789 | If a new custom theme is selected, add the name to the |
| 790 | changed_items and apply the theme to the sample. |
| 791 | """ |
| 792 | value = self.custom_name.get() |
| 793 | if value != '- no custom themes -': |
| 794 | changes.add_option('main', 'Theme', 'name', value) |
| 795 | self.paint_theme_sample() |
| 796 | |
| 797 | def var_changed_theme_source(self, *params): |
| 798 | """Process toggle between builtin and custom theme. |
no test coverage detected