Sanjaysen Palash > Tk-Updown-1.0 > Tk::UpDown

Download:
Tk-Updown-1.0.tgz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

   Tk::UpDown - Number Navigation Widget

SYNOPSIS ^

   $updown = $parent->UpDown(?options?);

STRANDARD OPTIONS ^

   -background | -bg, -foreground | -fg, -state, -width, -height, -relief, -cursor, -borderwidth

WIDGET SPECIFIC OPTIONS ^

    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.

DESCRIPTION ^

    A UpDown Navigation Control for Numbers List

Example ^

        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;

AUTHORS ^

SanjaySen.P , palash_bksys@yahoo.com

syntax highlighting: