MCPcopy Index your code
hub / github.com/rawpython/remi / __init__

Method __init__

editor/widgets/toolbox_scheduling.py:34–41  ·  view source on GitHub ↗
(self, interval_milliseconds=1000, autostart=True, *args, **kwargs)

Source from the content-addressed store, hash-verified

32 self.stop = True
33
34 def __init__(self, interval_milliseconds=1000, autostart=True, *args, **kwargs):
35 self.__interval_milliseconds = interval_milliseconds
36 self.__autostart = autostart
37 super(TimerWidget, self).__init__(self.icon, *args, **kwargs)
38 self.style.update({'position':'absolute','left':'10px','top':'10px','width':'46px','height':'46px'})
39 self.stop = False
40 if autostart:
41 self.onelapsed()
42
43 @gui.decorate_set_on_listener("(self, emitter)")
44 @gui.decorate_event

Callers

nothing calls this directly

Calls 2

onelapsedMethod · 0.95
updateMethod · 0.45

Tested by

no test coverage detected