Table of Contents

Class: TimeCounter bkchem/Pmw.py

Up-down counter

A TimeCounter is a single-line entry widget with Up and Down arrows which increment and decrement the Time value in the entry.

Base Classes   
MegaWidget
Methods   
__init__
_count
_countDown
_countUp
_createComponents
_drawArrow
_invoke
_max
_min
_resizeArrow
_setHMS
_stopUpDown
decrement
destroy
getint
getstring
getvalue
increment
invoke
setvalue
  __init__ 
__init__ (
        self,
        parent=None,
        **kw,
        )

  _count 
_count (
        self,
        factor,
        newFlag=None,
        increment=1,
        )

  _countDown 
_countDown (
        self,
        button,
        increment,
        )

  _countUp 
_countUp (
        self,
        button,
        increment,
        )

  _createComponents 
_createComponents ( self,  kw )

  _drawArrow 
_drawArrow (
        self,
        arrow,
        direction,
        )

  _invoke 
_invoke ( self,  event )

  _max 
_max ( self )

  _min 
_min ( self )

  _resizeArrow 
_resizeArrow ( self,  event=None )

  _setHMS 
_setHMS ( self )

  _stopUpDown 
_stopUpDown ( self,  button )

  decrement 
decrement ( self,  seconds=1 )

  destroy 
destroy ( self )

  getint 
getint ( self )

  getstring 
getstring ( self )

  getvalue 
getvalue ( self )

  increment 
increment ( self,  seconds=1 )

  invoke 
invoke ( self )

  setvalue 
setvalue ( self,  text )

Exceptions   
ValueError, 'invalid value: ' + text

Table of Contents

This document was automatically generated on Wed Jun 1 11:05:30 2005 by HappyDoc version 2.1