Tk::SlideSwitch

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

Tk::SlideSwitch Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Steve Lidie
  • Publisher web site:
  • http://search.cpan.org/~lusol/Tk-SlideSwitch-1.1/SlideSwitch.pm

Tk::SlideSwitch Tags


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 => , -llabel => , -rlabel => , -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.OPTIONSIn addition to all Scale options, the following option/value pairs are also supported:-llabelA reference to an array of left (or top) Label configuration options.-rlabelA reference to an array of right (or bottom) Label configuration options. Requirements: · Perl


Tk::SlideSwitch Related Software