Posted on 2008-11-18 01:15:21-08 by bosseler
Does the needle ever show up or move?

OK, this looks like a great module. But no way can I get the needle to appear or move. I've downloaded the examples and none of the needles in those examples work either (CPU, Thermometer, Honda). I've tried 5.8.8 and 5.10 with two flavors of Tk (027 and 028). No luck with any of the 4 combinations.

Some research in the archives show others have had the same problem, starting back in 2004. Apparently there is a long lost patch or somesuch that one person was able to use to get a needle to show up. Can anyone help either with getting this module to work or in finding a similar one? It seems like such a good module for GUI work.

All I really need is a pointer to one example that works [along with details on perl distribution (5.8, 5.10), Tk version (027 or 028), and update level of trace.pm].
Direct Responses: 9371 | Write a response
Posted on 2008-11-19 19:48:31-08 by eserte in response to 9364
Re: Does the needle ever show up or move?
Look at the README bundled with Tk-Gauge. It says that a patch to a Tk module (Trace.pm) is needed. The patch is included to Tk-Gauge. The README also states that the patch should appear in Tk-804.028, but because I was not aware of this patch, it was not put into the release.
Regards, Slaven
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.