sandeep.ses has asked for the wisdom of the Perl Monks concerning the following question:
my $helix_result_list=$helix_lf->Scrolled('HList', -scrollbars => 'oe', -width => 50, -height => 20, -header => 1, -columns => 5, -selectbackground=>'green', -command =>\&change_hlist_bg )->pack(-expand=>1, -fill=>'both', -padx=>2, -pady=>2); $helix_result_list->headerCreate( 0, -text => 'Chain'); $helix_result_list->headerCreate( 1, -text => 'Ssqno'); $helix_result_list->headerCreate( 2, -text => 'Esqno'); $helix_result_list->headerCreate( 3, -text => 'Class'); $helix_result_list->headerCreate( 4, -text => 'Sequence'); $helix_result_list->add($main::helix_result_count); printf "$main::helix_result_count\n"; $helix_result_list->itemCreate($main::helix_result_count,0,-text=> +$chainid); $helix_result_list->itemCreate($main::helix_result_count,1,-text=> +$value1); $helix_result_list->itemCreate($main::helix_result_count,2,-text=> +$value2); $helix_result_list->itemCreate($main::helix_result_count,3,-text=> +$class); $helix_result_list->itemCreate($main::helix_result_count,4,-text=> +sprintf("%s",substr($main::seqres{$chainid},$value1,$value2-$value1+1 +)));
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem with Hlist in Perl/TK
by davidj (Priest) on Jul 08, 2004 at 01:19 UTC | |
by sandeep.ses (Acolyte) on Jul 08, 2004 at 02:07 UTC | |
by davidj (Priest) on Jul 08, 2004 at 03:09 UTC | |
|
Re: Problem with Hlist in Perl/TK
by eserte (Deacon) on Jul 08, 2004 at 09:15 UTC |