bhushanbits2005 has asked for the wisdom of the Perl Monks concerning the following question:
Say, I am using this script. The GUI displays all the nos. from 0 to 41 in a stroke, but at a time I want to display 10 options with scroll bar to right, to explore the remaining options. Main thing is I dont want to display the long 41 nos. list at a time, and still want to make all 41 options accessible!Please reply as soon as possible! Thanks!#!/usr/local/bin/perl use Tk; my $bufferid=0; my $mw = new MainWindow; my $scl_bufferid = $mw ->Optionmenu(-options => [0,1,2,3,4,5,6,7,8,9,1 +0,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,3 +3,34,35,36,37,38,39,40,41],-variable => \$bufferid); $scl_bufferid-> grid(-row=>1,-column=>1); MainLoop;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: PERL/TK Optionmenu problem
by Anonymous Monk on Nov 27, 2008 at 08:55 UTC | |
|
Re: PERL/TK Optionmenu problem
by zentara (Cardinal) on Nov 27, 2008 at 13:34 UTC |