FLTK::RepeatButton - This button does it's callback repeatedly while the user holds the button down.
The callback is done when the user pushes the button down, and then after .5 second it is repeated 10 times a second, as long as the user is pointing at the button and holding it down.
new
my $button = $repeatbutton->new( $x, $y, $w, $h, $label );
Creates a new FLTK::RepeatButton object. Obviously.
FLTK::RepeatButton
Sanko Robinson <sanko@cpan.org> - http://sankorobinson.com/
Copyright (C) 2008-2010 by Sanko Robinson <sanko@cpan.org>
This program is free software; you can redistribute it and/or modify it under the terms of The Artistic License 2.0. See the LICENSE file included with this distribution or notes on the Artistic License 2.0 for clarification.
When separated from the distribution, all original POD documentation is covered by the Creative Commons Attribution-Share Alike 3.0 License. See the clarification of the CCA-SA3.0.
To install FLTK, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FLTK
CPAN shell
perl -MCPAN -e shell install FLTK
For more information on module installation, please visit the detailed CPAN module installation guide.