
Tk::RotatingGauge - a rotating gauge for Tk

use Tk::RotatingGauge;
my $g = $parent->RotatingGauge( @options );
$g->value(10.5);

This perl module provides a new Tk widget representing a gauge where the current value always stays at the same place. Think about your old mileage counters...

-background
-orient
See Tk::options for details of the standard options.

Specifies the color of the lines boxing the gauge. If set to none, then no box will be drawn. Default to black.
A real value corresponding to the minimum end of the gauge. Default to 0.
Specifies a desired window height that the widget should request from its geometry manager.
Specifies the color of the central indicator. If set to none, then no central indicator will be drawn. Default to red.
Define the rotating policy: if set to rotate (default), then out of bounds values will be mod-ed to fit in the wanted scale. If set to strict, values can't go lower than -from or higher than to.
A real value corresponding to the maximum end of the gauge. Default to 100.
The initial value to be shown. Default to 50.
The number of values to be displayed. Default to 20.
Specifies a desired window width that the widget should request from its geometry manager.

Sets the value that the gauge should indicate.

Please report any bugs or feature requests to < bug-tk-rotatinggauge at rt.cpan.org>, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Tk-RotatingGauge. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

Tk::RotatingGauge development takes place on http://tk-rotatinggauge.googlecode.com - feel free to join us.
You can also look for information on this module at:

Jerome Quelin, <jquelin at cpan.org>

Copyright (c) 2007 Jerome Quelin, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.