class 'Fl::FloatInput';
isa 'Fl::IntInput';
include 'FL/Fl_Float_Input.H';

=pod

=head1 NAME

Fl::FloatInput - Text Widget that Limits Users to Floating Point Numbers Only

=head1 Synopsis

    use Fl;
    my $input = Fl::FloatInput->new(0, 0, 100, 200, 'Hello, World!');

=head1 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).

=head1 Methods

Fl::FloatInput inherits from Fl::Input and Fl::Widget. On top of that, it
exposes the following methods...

=head2 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.

=cut

xs {name        => 'new',
    definitions => [
            {required => [[qw[int w]], [qw[int h]], [qw[int x]], [qw[int y]]],
             optional => [['const char *', 'label', '""']],
             returns  => 'Fl_Float_Input *'
            }
    ]
};
xs {name        => 'DESTROY',
    definitions => [{returns => 'void'}]
};

=pod

=head1 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.

=head1 AUTHOR

Sanko Robinson E<lt>sanko@cpan.orgE<gt>

=cut
