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

Method update

recipes/Python/577926_ProgressBar_class/recipe-577926.py:31–36  ·  view source on GitHub ↗
(self, ratio)

Source from the content-addressed store, hash-verified

29
30 # Update Progress Bar
31 def update(self, ratio):
32 self.__canvas.delete(Tkinter.ALL)
33 self.__canvas.create_rectangle(0, 0, self.__width * ratio, \
34 self.__height, fill='blue')
35 self.__root.update()
36 self.__root.focus_set()

Callers 6

__new__Method · 0.45
lookupMethod · 0.45
create_styleFunction · 0.45
updated_styleFunction · 0.45
recipe-577987.pyFile · 0.45
callerFunction · 0.45

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected