Configure text widget tags with colors from tagdefs.
(self)
| 159 | self.allow_colorizing = False |
| 160 | |
| 161 | def config_colors(self): |
| 162 | "Configure text widget tags with colors from tagdefs." |
| 163 | for tag, cnf in self.tagdefs.items(): |
| 164 | self.tag_configure(tag, **cnf) |
| 165 | self.tag_raise('sel') |
| 166 | |
| 167 | def LoadTagDefs(self): |
| 168 | "Create dictionary of tag names to text colors." |
no test coverage detected