MCPcopy Create free account
hub / github.com/ActiveState/code / setColors

Method setColors

recipes/Python/578875_Analog_Clock/recipe-578875.py:181–189  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

179 ## Sets the clock colors.
180 #
181 def setColors(self):
182 if self.showImage:
183 self.bgcolor = 'antique white'
184 self.timecolor = 'dark orange'
185 self.circlecolor = 'dark green'
186 else:
187 self.bgcolor = '#000000'
188 self.timecolor = '#ffffff'
189 self.circlecolor = '#808080'
190
191 ## Toggles the displaying of a background image.
192 #

Callers 2

__init__Method · 0.95
toggleImageMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected