Sanko Robinson

NAME

Fl::SimpleCounter - Fl::Counter Widget with Only Two Arrow Buttons

Description

The Fl::SimpleCounter is an Fl::Counter widget that creates a counter with only 2 arrow buttons.

Methods

Fl::SimpleCounter inherits from Fl::Counter and thus Fl::Valuator and Fl::Widget. On top of that, it exposes the following methods...

new(...)

    my $count_a = Fl::SimpleCounter->new(0, 0, 250, 500, 'Important Stuff');
    my $count_b = Fl::SimpleCounter->new(0, 0, 250, 500);

The constructor creates a new widget using the given position, size, and label.

The default type is FL_SIMPLE_COUNTER.

The destructor removes the widget.

LICENSE

Copyright (C) Sanko Robinson.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Sanko Robinson <sanko@cpan.org>