Return name of new theme from query popup.
(self, message)
| 893 | changes.add_option('highlight', theme, theme_element, new_color) |
| 894 | |
| 895 | def get_new_theme_name(self, message): |
| 896 | "Return name of new theme from query popup." |
| 897 | used_names = (idleConf.GetSectionList('user', 'highlight') + |
| 898 | idleConf.GetSectionList('default', 'highlight')) |
| 899 | new_theme = SectionName( |
| 900 | self, 'New Custom Theme', message, used_names).result |
| 901 | return new_theme |
| 902 | |
| 903 | def save_as_new_theme(self): |
| 904 | """Prompt for new theme name and create the theme. |