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

Method display_time

examples/minefield_app.py:96–100  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

94 super(MyApp, self).__init__(*args, static_file_path={'my_resources': res_path})
95
96 def display_time(self):
97 self.lblTime.set_text('Play time: ' + str(self.time_count))
98 self.time_count += 1
99 if not self.stop_flag:
100 threading.Timer(1, self.display_time).start()
101
102 def main(self):
103 # the arguments are width - height - layoutOrientationOrizontal

Callers 1

mainMethod · 0.95

Calls 2

set_textMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected