NAME
Fl::FloatInput - Text Widget that Limits Users to Floating Point Numbers Only
Synopsis
use Fl;
my $input = Fl::FloatInput->new(0, 0, 100, 200, 'Hello, World!');
Description
The Fl::FloatInput class represents a widget that only allows the user to type floating point numbers (sign, digits, decimal point, more digits, 'E' or 'e', sign, digits).
Methods
Fl::FloatInput inherits from Fl::Input and Fl::Widget. On top of that, it exposes the following methods...
new(...)
my $text_a = Fl::FloatInput->new(0, 0, 250, 500, 'Important Stuff');
my $text_b = Fl::FloatInput->new(0, 0, 250, 500);
The constructor creates a new widget using the given position, size, and label.
The widget's boxtype is FL_DOWN_BOX by default.
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>