TGGadgets

Ths is currently a collection of Flash/SWF clocks.

Unfortunately you will have to contact the author of a particular clock in order to obtain a license, if you want to use.

how to use

import turbogears as tg
from TGGadgets.widgets import FlashClock

flash_clock = FlashClock()

class MyController(tg.controllers.Controller):

    @tg.expose("path.to.your.template")
    def example(self):
        # do something
        return {'my_clock': flash_clock,
                ...}
    # in template: ${my_clock.display(clock='clock7')}

For a complete list of parameters and clocks please consult tg-admin toolbox. A widget description is listed there.

available clocks

  • clock1 ... clock12
  • 7a, 7desetembro
  • bussola
  • catclock
  • desenho
  • glow
  • handclock
  • horadolanche
  • mickeyclock
  • noite
  • pipa
  • relog
  • r§§§x
  • roman
  • samclock
  • timedimension
  • timeline