MCPcopy Index your code
hub / github.com/csev/py4e / _setFontComponent

Method _setFontComponent

code/graphics/graphics.py:824–830  ·  view source on GitHub ↗
(self, which, value)

Source from the content-addressed store, hash-verified

822 _tkExec(self.entry.config,bg=color)
823
824 def _setFontComponent(self, which, value):
825 font = list(self.font)
826 font[which] = value
827 self.font = tuple(font)
828 if self.entry:
829 #self.entry.config(font=self.font)
830 _tkExec(self.entry.config, font=self.font)
831
832 def setFace(self, face):
833 if face in ['helvetica','arial','courier','times roman']:

Callers 3

setFaceMethod · 0.95
setSizeMethod · 0.95
setStyleMethod · 0.95

Calls 2

listFunction · 0.85
_tkExecFunction · 0.85

Tested by

no test coverage detected