MCPcopy Create free account
hub / github.com/python/cpython / config_colors

Method config_colors

Lib/idlelib/colorizer.py:161–165  ·  view source on GitHub ↗

Configure text widget tags with colors from tagdefs.

(self)

Source from the content-addressed store, hash-verified

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."

Callers 1

setdelegateMethod · 0.95

Calls 3

itemsMethod · 0.45
tag_configureMethod · 0.45
tag_raiseMethod · 0.45

Tested by

no test coverage detected