Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    Tk::SlideSwitch 1.1

    Download button

    No screenshots available
    Downloads: 264  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Steve Lidie | More programs
    Perl Artistic License / FREE
    November 23rd, 2007, 05:20 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Tk::SlideSwitch description

    Tk::SlideSwitch is a 2 position horizontal or vertical switch.

    Tk::SlideSwitch is a 2 position horizontal or vertical switch.

    SYNOPSIS

    use Tk::SlideSwitch;

    my $sl = $frame1->SlideSwitch(
    -bg => 'gray',
    -orient => 'horizontal',
    -command => [$self => 'on'],
    -llabel => [-text => 'OFF', -foreground => 'blue'],
    -rlabel => [-text => 'ON', -foreground => 'blue'],
    -troughcolor => 'tan',
    )->pack(qw/-side left -expand 1/);

    Tk::SlideSwitch is a Frame based composite mega-widget featuring a binary Scale widget surrounded by two Label widgets. The Scale's value can be either 0 or 1. The Labels are positioned to the left and right of the Scale if its orientation is horizontal, else on the top and bottom of the Scale.

    OPTIONS

    In addition to all Scale options, the following option/value pairs are also supported:

    -llabel

    A reference to an array of left (or top) Label configuration options.

    -rlabel

    A reference to an array of right (or bottom) Label configuration options.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    horizontal switch | vertical switch | Perl module | horizontal | vertical | switch

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM