Tk::UpDown - Number Navigation Widget
$updown = $parent->UpDown(?options?);
-background | -bg, -foreground | -fg, -state, -width, -height, -relief, -cursor, -borderwidth
Name : initdigit Class : InitDigit Switch : -initdigit Specifies the Starting Value for the Number List. Name : enddigit Class : EndDigit Switch : -enddigit Specifies the Endpoint for the Number List. Name : step Class : Step Switch : -step Specifies the Incremental or Decremental Value for Navigation. Name : beep Class : Beep Switch : -beep Specifies whether to enable bell when reaches the Boundary while Navigation.
A UpDown Navigation Control for Numbers List
use Tk; use UpDown; my $MainWindow = MainWindow->new(); $UpDown = $MainWindow->UpDown ( -bg => 'cyan', -fg => 'brown', -initdigit => 1, -enddigit => 10, -step => 1, -beep => 1 ); $UpDown->pack(); MainLoop;
SanjaySen.P , palash_bksys@yahoo.com
1 POD Error
The following errors were encountered while parsing the POD:
=cut found outside a pod block. Skipping to next block.
To install Tk::UpDown, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tk::UpDown
CPAN shell
perl -MCPAN -e shell install Tk::UpDown
For more information on module installation, please visit the detailed CPAN module installation guide.