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

Method __init__

ui/widgets/toggleswitch.py:11–22  ·  view source on GitHub ↗
(self, widget, startv, endv, type)

Source from the content-addressed store, hash-verified

9
10class AnimationHandler:
11 def __init__(self, widget, startv, endv, type):
12 self.widget = widget
13 self.type = type
14 self.startv = startv
15 self.endv = endv
16 self.value = 0
17 self.speed = 3.45
18 self.sensitivity = 0.001
19 self.reverse = False
20 self.loop = False
21 self.started = None
22 self._tickfunc = None
23
24 def tick(self, func):
25 self._tickfunc = func

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected