Kivy Course #5 – Properties and Clock Definitions

At the fifth part of Kivy course, properties and Clock are introduced and an example counter application is made. This application counts with seconds and have abilities to start, pause and reset the timer.

At the first stage the Python file is:

And the Kivy file which should be named as etiket.kv is:

At this stage, when user presses to start multiple times, it schedules more than one intervals and this causes the counter app to count wrong. To fix this, a new Python code is implemented as follows:

At this point, the Kivy file stayed the same and the name of it stayed the same, too.