MCPcopy Index your code
hub / github.com/PySimpleGUI/PySimpleGUI / stop_timer_with_id

Method stop_timer_with_id

PySimpleGUI/PySimpleGUI.py:9734–9742  ·  view source on GitHub ↗

Not user callable! :return: A simple counter that makes each container element unique :rtype:

(cls, timer_id)

Source from the content-addressed store, hash-verified

9732
9733 @classmethod
9734 def stop_timer_with_id(cls, timer_id):
9735 """
9736 Not user callable!
9737 :return: A simple counter that makes each container element unique
9738 :rtype:
9739 """
9740 timer = cls.active_timers.get(timer_id, None)
9741 if timer is not None:
9742 timer.stop()
9743
9744 @classmethod
9745 def stop_all_timers_for_window(cls, window):

Callers 1

timer_stopMethod · 0.80

Calls 2

stopMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected