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

Method __init__

Tools/unittestgui/unittestgui.py:437–444  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

435 the given colour."""
436
437 def __init__(self, *args, **kwargs):
438 tk.Frame.__init__(self, *args, **kwargs)
439 self.canvas = tk.Canvas(self, height='20', width='60',
440 background='white', borderwidth=3)
441 self.canvas.pack(fill=tk.X, expand=1)
442 self.rect = self.text = None
443 self.canvas.bind('<Configure>', self.paint)
444 self.setProgressFraction(0.0)
445
446 def setProgressFraction(self, fraction, color='blue'):
447 self.fraction = fraction

Callers 2

__init__Method · 0.45
__init__Method · 0.45

Calls 3

setProgressFractionMethod · 0.95
packMethod · 0.45
bindMethod · 0.45

Tested by

no test coverage detected