[wpdev-commits] xmlscripts/scripts spawngem.py,1.4,1.5
Brought to you by:
rip,
thiagocorrea
From: Sebastian H. <dar...@us...> - 2004-10-17 18:07:42
|
Update of /cvsroot/wpdev/xmlscripts/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29387 Modified Files: spawngem.py Log Message: Spawning commands Index: spawngem.py =================================================================== RCS file: /cvsroot/wpdev/xmlscripts/scripts/spawngem.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** spawngem.py 11 Jul 2004 02:47:25 -0000 1.4 --- spawngem.py 17 Oct 2004 18:07:33 -0000 1.5 *************** *** 21,24 **** --- 21,39 ---- # + # Tooltips + # + # Show a nice tooltip + def onShowTooltip(sender, target, tooltip): + if target.hastag('mininterval') and target.hastag('maxinterval') and target.hastag('area'): + area = target.gettag('area') + mininterval = target.gettag('mininterval') + maxinterval = target.gettag('maxinterval') + + appendix = 'Radius: %s\nInterval: %s to %s minutes' % (area, mininterval, maxinterval) + + tooltip.add(1060847, "%s\t\n" % appendix) + + + # # Gump configuration response # |