File: timer.py

package info (click to toggle)
python-traitsgui 3.6.0-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 7,276 kB
  • sloc: python: 12,190; makefile: 85; sh: 5
file content (9 lines) | stat: -rw-r--r-- 320 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
"""A timer that invokes a specified callback periodically.
"""
# Author: Prabhu Ramachandran <prabhu@aero.iitb.ac.in>
# Copyright (c) 2006-2007,  Enthought, Inc.
# License: BSD Style.

# Import the toolkit specific version.
from enthought.pyface.toolkit import toolkit_object
Timer = toolkit_object('timer.timer:Timer')