MCPcopy Index your code
hub / github.com/python/cpython / update_font

Method update_font

Lib/idlelib/codecontext.py:246–249  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

244 self.t1 = self.text.after(self.UPDATEINTERVAL, self.timer_event)
245
246 def update_font(self):
247 if self.context is not None:
248 font = idleConf.GetFont(self.text, 'main', 'EditorWindow')
249 self.context['font'] = font
250
251 def update_highlight_colors(self):
252 if self.context is not None:

Callers 1

Calls 1

GetFontMethod · 0.80

Tested by

no test coverage detected