MCPcopy Create free account
hub / github.com/geekcomputers/Python / pause_timer

Function pause_timer

Pomodoro (tkinter).py:137–144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135
136
137def pause_timer():
138 global is_paused, timer_mec
139 if not is_paused:
140 is_paused = True
141 if timer_mec is not None:
142 window.after_cancel(timer_mec)
143 pause_button.config(state=DISABLED)
144 play_button.config(state=NORMAL)
145
146
147def resume_timer():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected