-
-
21 Jan 2020 03:51:59 UTC
- Distribution: Fl
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (86 / 0 / 0)
- Kwalitee
Bus factor: 1- License: artistic_2
- Perl: v5.8.1
- Activity
24 month- Tools
- Download (122.46KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- none
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Fl::IntInput - Text Widget that Limits Users to Decimal Digits and Hex Numbers
Synopsis
use Fl; my $input = Fl::IntInput->new(0, 0, 100, 200, 'Hello, World!');
Description
The Fl::IntInput class represents a widget that only allows the user to type decimal digits (or hex numbers of the form 0xaef).
Methods
Fl::IntInput inherits from Fl::Input and Fl::Widget. On top of that, it exposes the following methods...
new(...)
my $text_a = Fl::IntInput->new(0, 0, 250, 500, 'Important Stuff'); my $text_b = Fl::IntInput->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>
Module Install Instructions
To install Fl, copy and paste the appropriate command in to your terminal.
cpanm Fl
perl -MCPAN -e shell install Fl
For more information on module installation, please visit the detailed CPAN module installation guide.