On 9/5/07, Jerome Quelin <[EMAIL PROTECTED]> wrote:
> hi there,
>
> i wrote a tk module providing a new widget, based on a canvas. it's
> basically a gauge, but the kind of gauge where the current value always
> stays in the middle.
[...]

Sounds like a very nifty gauge!

> because of this behaviour, i was thinking of naming it Tk::RRGauge (RR
> meaning RoundRobin).
>
> however, i think i'll implement later on a mode where it does not wrap
> up. ie, taking the above example of 0..10 range, widget will look sthg
> like:
>     [xxxxxxxxxxx|   1   2 ] value=0.00
>     [   8   9   |xxxxxxxxx] value=9.99

Does there have to be a fixed range?  Maybe it should have some
options to control whether or not it wraps around (like a wheel in RL)
or keeps on going (like a slider or infinite-diameter wheel).

> therefore, the name RRGauge might not be the best one... so, maybe a
> name like Tk::RotatingGauge would be better?

How about Tk::Gauge::Rotating?  I think RR is too obscure, and this
leaves room for others to come up with other Tk::Gauge::Xxx modules.
Are there other gauge modules for Tk?  Maybe using different kinds of
names besides "gauge" such as "indicator" or "display" or "dial"?

Reply via email to