MCPcopy Create free account
hub / github.com/DIMFLIX/Spectrum-Security / start

Method start

ui/widgets/toggleswitch.py:28–34  ·  view source on GitHub ↗
(self, reverse=False, loop=False)

Source from the content-addressed store, hash-verified

26 return func
27
28 def start(self, reverse=False, loop=False):
29 self.reverse = reverse
30 self.loop = loop
31 self.started = True
32 self.orgstart_time = time.time()
33 self.value = 0
34 self.widget.update()
35
36 def done(self):
37 return self.started is None

Callers 8

updateMethod · 0.95
scan_btn_startMethod · 0.80
start_animationMethod · 0.80
end_animationMethod · 0.80
mousePressEventMethod · 0.80

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected