/usr/share/pyshared/PythonCard/timer.py is in python-pythoncard 0.8.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | """
__version__ = "$Revision: 1.1 $"
__date__ = "$Date: 2004/04/14 01:35:26 $"
"""
import wx
class Timer(wx.Timer):
"""
Simple wrapper of wxTimer so that all apps using timers
can use mixedCase style methods and avoid importing wx.
"""
getInterval = wx.Timer.GetInterval
isOneShot = wx.Timer.IsOneShot
isRunning = wx.Timer.IsRunning
start = wx.Timer.Start
stop = wx.Timer.Stop
|