Tk::RotatingGauge - a rotating gauge for tk
version 1.100140
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...
A rotating gauge item accepts the options described below.
See Tk::options for more information on this standard option.
Specifies the color of the lines boxing the gauge. If set to none, then no box will be drawn. Default to black.
none
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.
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.
rotate
strict
-from
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.
You can find more information on this module at:
Search CPAN
http://search.cpan.org/dist/Tk-RotatingGauge
See open / report bugs
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Tk-RotatingGauge
Git repository
http://github.com/jquelin/tk-rotatinggauge
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Tk-RotatingGauge
CPAN Ratings
http://cpanratings.perl.org/d/Tk-RotatingGauge
Jerome Quelin
This software is copyright (c) 2007 by Jerome Quelin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Tk::RotatingGauge, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tk::RotatingGauge
CPAN shell
perl -MCPAN -e shell install Tk::RotatingGauge
For more information on module installation, please visit the detailed CPAN module installation guide.